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

PI Powershell

ImportAFXml.AFAttributeTemplates Property

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

AF Attribute 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: 2.2.3.0 (2.2.3.952)

Syntax

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

Dim instance As ImportAFXml
Dim value As AFAttributeTemplates

value = instance.AFAttributeTemplates

instance.AFAttributeTemplates = value
public:
[ParameterAttribute(Position = 2, ParameterSetName = L"FileToAFAttributeTemplates", 
	Mandatory = true, ValueFromPipeline = true, HelpMessage = L"AF Attribute Templates collections to import to")]
[ParameterAttribute(Position = 2, ParameterSetName = L"StreamToAFAttributeTemplates", 
	Mandatory = true, ValueFromPipeline = true, HelpMessage = L"AF Attribute Templates collections to import to")]
[ValidateNotNullAttribute]
[AllowEmptyCollectionAttribute]
property AFAttributeTemplates^ AFAttributeTemplates {
	AFAttributeTemplates^ get ();
	void set (AFAttributeTemplates^ value);
}
[<ParameterAttribute(Position = 2, ParameterSetName = "FileToAFAttributeTemplates", 
	Mandatory = true, ValueFromPipeline = true, HelpMessage = "AF Attribute Templates collections to import to")>]
[<ParameterAttribute(Position = 2, ParameterSetName = "StreamToAFAttributeTemplates", 
	Mandatory = true, ValueFromPipeline = true, HelpMessage = "AF Attribute Templates collections to import to")>]
[<ValidateNotNullAttribute>]
[<AllowEmptyCollectionAttribute>]
member AFAttributeTemplates : AFAttributeTemplates with get, set

Property Value

Type: AFAttributeTemplates

See Also

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