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

PI Powershell

SetPIIdentity.CanDelete Property

  • Last UpdatedDec 15, 2025
  • 1 minute read
SetPIIdentity.CanDelete Property

Allow deletion of the PI Identity

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

Syntax

[ParameterAttribute(Position = 2, ParameterSetName = "AllProperties", 
	Mandatory = true, HelpMessage = "Allow PI Identity deletion?")]
public bool CanDelete { get; set; }
<ParameterAttribute(Position := 2, ParameterSetName := "AllProperties", 
	Mandatory := true, HelpMessage := "Allow PI Identity deletion?")>
Public Property CanDelete As Boolean
	Get
	Set

Dim instance As SetPIIdentity
Dim value As Boolean

value = instance.CanDelete

instance.CanDelete = value
public:
[ParameterAttribute(Position = 2, ParameterSetName = L"AllProperties", 
	Mandatory = true, HelpMessage = L"Allow PI Identity deletion?")]
property bool CanDelete {
	bool get ();
	void set (bool value);
}
[<ParameterAttribute(Position = 2, ParameterSetName = "AllProperties", 
	Mandatory = true, HelpMessage = "Allow PI Identity deletion?")>]
member CanDelete : bool with get, set

Property Value

Type: Boolean

See Also

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