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

PI Powershell

RemovePIDigitalStateFromStateSet.StateId Property

  • Last UpdatedDec 15, 2025
  • 2 minute read
RemovePIDigitalStateFromStateSet.StateId Property

State ID of the PI Digital State to remove

Namespace:  OSIsoft.PowerShell
Assembly:  OSIsoft.PowerShell (in OSIsoft.PowerShell.dll) Version: 2.2.3.0 (2.2.3.952)

Syntax

[ParameterAttribute(Position = 0, ParameterSetName = "ById", Mandatory = true, 
	HelpMessage = "PI Digital State Id")]
[ValidateNotNullOrEmptyAttribute]
public int StateId { get; set; }
<ParameterAttribute(Position := 0, ParameterSetName := "ById", Mandatory := true, 
	HelpMessage := "PI Digital State Id")>
<ValidateNotNullOrEmptyAttribute>
Public Property StateId As Integer
	Get
	Set

Dim instance As RemovePIDigitalStateFromStateSet
Dim value As Integer

value = instance.StateId

instance.StateId = value
public:
[ParameterAttribute(Position = 0, ParameterSetName = L"ById", Mandatory = true, 
	HelpMessage = L"PI Digital State Id")]
[ValidateNotNullOrEmptyAttribute]
property int StateId {
	int get ();
	void set (int value);
}
[<ParameterAttribute(Position = 0, ParameterSetName = "ById", Mandatory = true, 
	HelpMessage = "PI Digital State Id")>]
[<ValidateNotNullOrEmptyAttribute>]
member StateId : int with get, set

Property Value

Type: Int32

See Also

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