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

PI Powershell

ImportAFXml.AFElementTemplates Property

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

AF Element Templates collections to import AF Objects to. To import to a single collection, use the AFObject parameter instead.

Namespace:  OSIsoft.PowerShell
Assembly:  OSIsoft.PowerShell (in OSIsoft.PowerShell.dll) Version: 3.1.1.0 (3.1.1.466)

Syntax

[ParameterAttribute(Position = 2, ParameterSetName = "FileToAFElementTemplates", 
	Mandatory = true, ValueFromPipeline = true, HelpMessage = "AF Element Templates collections to import to")]
[ParameterAttribute(Position = 2, ParameterSetName = "StreamToAFElementTemplates", 
	Mandatory = true, ValueFromPipeline = true, HelpMessage = "AF Element Templates collections to import to")]
[ValidateNotNullAttribute]
[AllowEmptyCollectionAttribute]
public AFElementTemplates AFElementTemplates { get; set; }
<ParameterAttribute(Position := 2, ParameterSetName := "FileToAFElementTemplates", 
	Mandatory := true, ValueFromPipeline := true, HelpMessage := "AF Element Templates collections to import to")>
<ParameterAttribute(Position := 2, ParameterSetName := "StreamToAFElementTemplates", 
	Mandatory := true, ValueFromPipeline := true, HelpMessage := "AF Element Templates collections to import to")>
<ValidateNotNullAttribute>
<AllowEmptyCollectionAttribute>
Public Property AFElementTemplates As AFElementTemplates
	Get
	Set

Dim instance As ImportAFXml
Dim value As AFElementTemplates

value = instance.AFElementTemplates

instance.AFElementTemplates = value
public:
[ParameterAttribute(Position = 2, ParameterSetName = L"FileToAFElementTemplates", 
	Mandatory = true, ValueFromPipeline = true, HelpMessage = L"AF Element Templates collections to import to")]
[ParameterAttribute(Position = 2, ParameterSetName = L"StreamToAFElementTemplates", 
	Mandatory = true, ValueFromPipeline = true, HelpMessage = L"AF Element Templates collections to import to")]
[ValidateNotNullAttribute]
[AllowEmptyCollectionAttribute]
property AFElementTemplates^ AFElementTemplates {
	AFElementTemplates^ get ();
	void set (AFElementTemplates^ value);
}
[<ParameterAttribute(Position = 2, ParameterSetName = "FileToAFElementTemplates", 
	Mandatory = true, ValueFromPipeline = true, HelpMessage = "AF Element Templates collections to import to")>]
[<ParameterAttribute(Position = 2, ParameterSetName = "StreamToAFElementTemplates", 
	Mandatory = true, ValueFromPipeline = true, HelpMessage = "AF Element Templates collections to import to")>]
[<ValidateNotNullAttribute>]
[<AllowEmptyCollectionAttribute>]
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