GetPIStatus.Status Property
- Last UpdatedDec 15, 2025
- 2 minute read
Status code for which to lookup information. PI-specific codes are negative (preceded by a "-"), while Windows codes are positive.
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, HelpMessage = "Status code")] [AliasAttribute(new string[] { ... })] [ValidateNotNullOrEmptyAttribute] public int Status { get; set; }
<ParameterAttribute(Position := 0, Mandatory := true, HelpMessage := "Status code")> <AliasAttribute(New String() { ... })> <ValidateNotNullOrEmptyAttribute> Public Property Status As Integer Get Set Dim instance As GetPIStatus Dim value As Integer value = instance.Status instance.Status = value
public: [ParameterAttribute(Position = 0, Mandatory = true, HelpMessage = L"Status code")] [AliasAttribute(__gc new array<String^>^ { ... })] [ValidateNotNullOrEmptyAttribute] property int Status { int get (); void set (int value); }
[<ParameterAttribute(Position = 0, Mandatory = true, HelpMessage = "Status code")>] [<AliasAttribute(new string[] { ... })>] [<ValidateNotNullOrEmptyAttribute>] member Status : int with get, set