ImportAFXml.AFServer Property
- Last UpdatedDec 15, 2025
- 2 minute read
AF Server object to import AF Objects to. Note that the AF Server object only includes: AFContact, AFNotificationContactTemplate, and UOMDatabase objects. All other objects must be imported via the AF Database object or other collection.
Namespace: OSIsoft.PowerShell
Assembly: OSIsoft.PowerShell (in OSIsoft.PowerShell.dll) Version: 2.2.3.0 (2.2.3.952)
Syntax
[ParameterAttribute(Position = 2, ParameterSetName = "FileToAFServer", Mandatory = true, ValueFromPipeline = true, HelpMessage = "AF Server to import to")] [ParameterAttribute(Position = 2, ParameterSetName = "StreamToAFServer", Mandatory = true, ValueFromPipeline = true, HelpMessage = "AF Server to import to")] [ValidateNotNullOrEmptyAttribute] public AFServer AFServer { get; set; }
<ParameterAttribute(Position := 2, ParameterSetName := "FileToAFServer", Mandatory := true, ValueFromPipeline := true, HelpMessage := "AF Server to import to")> <ParameterAttribute(Position := 2, ParameterSetName := "StreamToAFServer", Mandatory := true, ValueFromPipeline := true, HelpMessage := "AF Server to import to")> <ValidateNotNullOrEmptyAttribute> Public Property AFServer As AFServer Get Set Dim instance As ImportAFXml Dim value As AFServer value = instance.AFServer instance.AFServer = value
public: [ParameterAttribute(Position = 2, ParameterSetName = L"FileToAFServer", Mandatory = true, ValueFromPipeline = true, HelpMessage = L"AF Server to import to")] [ParameterAttribute(Position = 2, ParameterSetName = L"StreamToAFServer", Mandatory = true, ValueFromPipeline = true, HelpMessage = L"AF Server to import to")] [ValidateNotNullOrEmptyAttribute] property AFServer^ AFServer { AFServer^ get (); void set (AFServer^ value); }
[<ParameterAttribute(Position = 2, ParameterSetName = "FileToAFServer", Mandatory = true, ValueFromPipeline = true, HelpMessage = "AF Server to import to")>] [<ParameterAttribute(Position = 2, ParameterSetName = "StreamToAFServer", Mandatory = true, ValueFromPipeline = true, HelpMessage = "AF Server to import to")>] [<ValidateNotNullOrEmptyAttribute>] member AFServer : AFServer with get, set