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

PI Powershell

SetPIAFLinkTracing.Enable Property

  • Last UpdatedDec 15, 2025
  • 2 minute read
SetPIAFLinkTracing.Enable Property

Enable a PI AF Link trace

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

Syntax

[ParameterAttribute(Position = 0, ParameterSetName = "Enable tracing", 
	Mandatory = true, HelpMessage = "Enable tracing")]
[ValidateNotNullOrEmptyAttribute]
public SwitchParameter Enable { get; set; }
<ParameterAttribute(Position := 0, ParameterSetName := "Enable tracing", 
	Mandatory := true, HelpMessage := "Enable tracing")>
<ValidateNotNullOrEmptyAttribute>
Public Property Enable As SwitchParameter
	Get
	Set

Dim instance As SetPIAFLinkTracing
Dim value As SwitchParameter

value = instance.Enable

instance.Enable = value
public:
[ParameterAttribute(Position = 0, ParameterSetName = L"Enable tracing", 
	Mandatory = true, HelpMessage = L"Enable tracing")]
[ValidateNotNullOrEmptyAttribute]
property SwitchParameter Enable {
	SwitchParameter get ();
	void set (SwitchParameter value);
}
[<ParameterAttribute(Position = 0, ParameterSetName = "Enable tracing", 
	Mandatory = true, HelpMessage = "Enable tracing")>]
[<ValidateNotNullOrEmptyAttribute>]
member Enable : SwitchParameter with get, set

Property Value

Type: SwitchParameter

See Also

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