Please ensure Javascript is enabled for purposes of website accessibility
Powered by Zoomin Software. For more details please contactZoomin

PI Powershell

ExportAFXml.AFElementTemplates Property

  • Last UpdatedDec 15, 2025
  • 2 minute read
ExportAFXml.AFElementTemplates Property

AF Element Templates to export. If only one is to be exported, use the -AFObject parameter instead.

Namespace:  OSIsoft.PowerShell
Assembly:  OSIsoft.PowerShell (in OSIsoft.PowerShell.dll) Version: 2.2.3.0 (2.2.3.952)

Syntax

[ParameterAttribute(Position = 4, ParameterSetName = "AFElementTemplates", 
	Mandatory = true, ValueFromPipeline = true, HelpMessage = "AF Element Templates collections to export")]
[ValidateNotNullOrEmptyAttribute]
public AFElementTemplates AFElementTemplates { get; set; }
<ParameterAttribute(Position := 4, ParameterSetName := "AFElementTemplates", 
	Mandatory := true, ValueFromPipeline := true, HelpMessage := "AF Element Templates collections to export")>
<ValidateNotNullOrEmptyAttribute>
Public Property AFElementTemplates As AFElementTemplates
	Get
	Set

Dim instance As ExportAFXml
Dim value As AFElementTemplates

value = instance.AFElementTemplates

instance.AFElementTemplates = value
public:
[ParameterAttribute(Position = 4, ParameterSetName = L"AFElementTemplates", 
	Mandatory = true, ValueFromPipeline = true, HelpMessage = L"AF Element Templates collections to export")]
[ValidateNotNullOrEmptyAttribute]
property AFElementTemplates^ AFElementTemplates {
	AFElementTemplates^ get ();
	void set (AFElementTemplates^ value);
}
[<ParameterAttribute(Position = 4, ParameterSetName = "AFElementTemplates", 
	Mandatory = true, ValueFromPipeline = true, HelpMessage = "AF Element Templates collections to export")>]
[<ValidateNotNullOrEmptyAttribute>]
member AFElementTemplates : AFElementTemplates with get, set

Property Value

Type: AFElementTemplates

See Also

In This Topic
TitleResults for “How to create a CRG?”Also Available in