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

PI Powershell

ImportAFXml.AFAttributes Property

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

AF Attributes 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 = "FileToAFAttributes", 
	Mandatory = true, ValueFromPipeline = true, HelpMessage = "AF Attributes collection to import to")]
[ParameterAttribute(Position = 2, ParameterSetName = "StreamToAFAttributes", 
	Mandatory = true, ValueFromPipeline = true, HelpMessage = "AF Attributes collection to import to")]
[ValidateNotNullAttribute]
[AllowEmptyCollectionAttribute]
public AFAttributes AFAttributes { get; set; }
<ParameterAttribute(Position := 2, ParameterSetName := "FileToAFAttributes", 
	Mandatory := true, ValueFromPipeline := true, HelpMessage := "AF Attributes collection to import to")>
<ParameterAttribute(Position := 2, ParameterSetName := "StreamToAFAttributes", 
	Mandatory := true, ValueFromPipeline := true, HelpMessage := "AF Attributes collection to import to")>
<ValidateNotNullAttribute>
<AllowEmptyCollectionAttribute>
Public Property AFAttributes As AFAttributes
	Get
	Set

Dim instance As ImportAFXml
Dim value As AFAttributes

value = instance.AFAttributes

instance.AFAttributes = value
public:
[ParameterAttribute(Position = 2, ParameterSetName = L"FileToAFAttributes", 
	Mandatory = true, ValueFromPipeline = true, HelpMessage = L"AF Attributes collection to import to")]
[ParameterAttribute(Position = 2, ParameterSetName = L"StreamToAFAttributes", 
	Mandatory = true, ValueFromPipeline = true, HelpMessage = L"AF Attributes collection to import to")]
[ValidateNotNullAttribute]
[AllowEmptyCollectionAttribute]
property AFAttributes^ AFAttributes {
	AFAttributes^ get ();
	void set (AFAttributes^ value);
}
[<ParameterAttribute(Position = 2, ParameterSetName = "FileToAFAttributes", 
	Mandatory = true, ValueFromPipeline = true, HelpMessage = "AF Attributes collection to import to")>]
[<ParameterAttribute(Position = 2, ParameterSetName = "StreamToAFAttributes", 
	Mandatory = true, ValueFromPipeline = true, HelpMessage = "AF Attributes collection to import to")>]
[<ValidateNotNullAttribute>]
[<AllowEmptyCollectionAttribute>]
member AFAttributes : AFAttributes with get, set

Property Value

Type: AFAttributes

See Also

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