GetAFServer.Index Property
- Last UpdatedDec 15, 2025
- 2 minute read
Index of the AF Server to get from the local AF Servers list. The indexing is zero-based.
Namespace: OSIsoft.PowerShell
Assembly: OSIsoft.PowerShell (in OSIsoft.PowerShell.dll) Version: 2.2.3.0 (2.2.3.952)
Syntax
[ParameterAttribute(Position = 0, Mandatory = true, ParameterSetName = "Index", HelpMessage = "Index of AF Server")] [ValidateNotNullOrEmptyAttribute] public int Index { get; set; }
<ParameterAttribute(Position := 0, Mandatory := true, ParameterSetName := "Index", HelpMessage := "Index of AF Server")> <ValidateNotNullOrEmptyAttribute> Public Property Index As Integer Get Set Dim instance As GetAFServer Dim value As Integer value = instance.Index instance.Index = value
public: [ParameterAttribute(Position = 0, Mandatory = true, ParameterSetName = L"Index", HelpMessage = L"Index of AF Server")] [ValidateNotNullOrEmptyAttribute] property int Index { int get (); void set (int value); }
[<ParameterAttribute(Position = 0, Mandatory = true, ParameterSetName = "Index", HelpMessage = "Index of AF Server")>] [<ValidateNotNullOrEmptyAttribute>] member Index : int with get, set