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

PI Powershell

ExportAFXml.AFElements Property

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

AF Elements 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: 3.1.1.0 (3.1.1.466)

Syntax

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

Dim instance As ExportAFXml
Dim value As AFElements

value = instance.AFElements

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

Property Value

Type: AFElements

See Also

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