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

PI Powershell

SetAFAttribute.IsExcluded Property

  • Last UpdatedDec 15, 2025
  • 2 minute read
SetAFAttribute.IsExcluded Property

Set the AF Attribute as excluded for the associated AF Element

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

Syntax

[ParameterAttribute(Position = 7, Mandatory = false, ParameterSetName = "Value", 
	HelpMessage = "AF Attribute excluded item")]
[ParameterAttribute(Position = 8, Mandatory = false, ParameterSetName = "DataReference", 
	HelpMessage = "AF Attribute excluded item")]
[ValidateNotNullOrEmptyAttribute]
public bool IsExcluded { get; set; }
<ParameterAttribute(Position := 7, Mandatory := false, ParameterSetName := "Value", 
	HelpMessage := "AF Attribute excluded item")>
<ParameterAttribute(Position := 8, Mandatory := false, ParameterSetName := "DataReference", 
	HelpMessage := "AF Attribute excluded item")>
<ValidateNotNullOrEmptyAttribute>
Public Property IsExcluded As Boolean
	Get
	Set

Dim instance As SetAFAttribute
Dim value As Boolean

value = instance.IsExcluded

instance.IsExcluded = value
public:
[ParameterAttribute(Position = 7, Mandatory = false, ParameterSetName = L"Value", 
	HelpMessage = L"AF Attribute excluded item")]
[ParameterAttribute(Position = 8, Mandatory = false, ParameterSetName = L"DataReference", 
	HelpMessage = L"AF Attribute excluded item")]
[ValidateNotNullOrEmptyAttribute]
property bool IsExcluded {
	bool get ();
	void set (bool value);
}
[<ParameterAttribute(Position = 7, Mandatory = false, ParameterSetName = "Value", 
	HelpMessage = "AF Attribute excluded item")>]
[<ParameterAttribute(Position = 8, Mandatory = false, ParameterSetName = "DataReference", 
	HelpMessage = "AF Attribute excluded item")>]
[<ValidateNotNullOrEmptyAttribute>]
member IsExcluded : bool with get, set

Property Value

Type: Boolean

See Also

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