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

PI Powershell

ExportAFXml.AFServer Property

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

AF Server object to export. Note that the AF Server object only includes: AFContact, AFNotificationContactTemplate, and UOMDatabase objects. All other objects must be exported via the AF Database object.

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

Syntax

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

Dim instance As ExportAFXml
Dim value As AFServer

value = instance.AFServer

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

Property Value

Type: AFServer

See Also

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