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

PI Powershell

ImportAFXml.AFPorts Property

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

AF Ports 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 = "FileToAFPorts", 
	Mandatory = true, ValueFromPipeline = true, HelpMessage = "AF Event Frames collections to import to")]
[ParameterAttribute(Position = 2, ParameterSetName = "StreamToAFPorts", 
	Mandatory = true, ValueFromPipeline = true, HelpMessage = "AF Event Frames collections to import to")]
[ValidateNotNullAttribute]
[AllowEmptyCollectionAttribute]
public AFPorts AFPorts { get; set; }
<ParameterAttribute(Position := 2, ParameterSetName := "FileToAFPorts", 
	Mandatory := true, ValueFromPipeline := true, HelpMessage := "AF Event Frames collections to import to")>
<ParameterAttribute(Position := 2, ParameterSetName := "StreamToAFPorts", 
	Mandatory := true, ValueFromPipeline := true, HelpMessage := "AF Event Frames collections to import to")>
<ValidateNotNullAttribute>
<AllowEmptyCollectionAttribute>
Public Property AFPorts As AFPorts
	Get
	Set

Dim instance As ImportAFXml
Dim value As AFPorts

value = instance.AFPorts

instance.AFPorts = value
public:
[ParameterAttribute(Position = 2, ParameterSetName = L"FileToAFPorts", 
	Mandatory = true, ValueFromPipeline = true, HelpMessage = L"AF Event Frames collections to import to")]
[ParameterAttribute(Position = 2, ParameterSetName = L"StreamToAFPorts", 
	Mandatory = true, ValueFromPipeline = true, HelpMessage = L"AF Event Frames collections to import to")]
[ValidateNotNullAttribute]
[AllowEmptyCollectionAttribute]
property AFPorts^ AFPorts {
	AFPorts^ get ();
	void set (AFPorts^ value);
}
[<ParameterAttribute(Position = 2, ParameterSetName = "FileToAFPorts", 
	Mandatory = true, ValueFromPipeline = true, HelpMessage = "AF Event Frames collections to import to")>]
[<ParameterAttribute(Position = 2, ParameterSetName = "StreamToAFPorts", 
	Mandatory = true, ValueFromPipeline = true, HelpMessage = "AF Event Frames collections to import to")>]
[<ValidateNotNullAttribute>]
[<AllowEmptyCollectionAttribute>]
member AFPorts : AFPorts with get, set

Property Value

Type: AFPorts

See Also

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