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

PI Powershell

RemoveAFCategory.Name Property

  • Last UpdatedDec 15, 2025
  • 2 minute read
RemoveAFCategory.Name Property

Name of the AF Category 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, Mandatory = true, ValueFromPipeline = false, 
	ParameterSetName = "Name", HelpMessage = "Category Name")]
[ValidateNotNullOrEmptyAttribute]
public string Name { get; set; }
<ParameterAttribute(Position := 0, Mandatory := true, ValueFromPipeline := false, 
	ParameterSetName := "Name", HelpMessage := "Category Name")>
<ValidateNotNullOrEmptyAttribute>
Public Property Name As String
	Get
	Set

Dim instance As RemoveAFCategory
Dim value As String

value = instance.Name

instance.Name = value
public:
[ParameterAttribute(Position = 0, Mandatory = true, ValueFromPipeline = false, 
	ParameterSetName = L"Name", HelpMessage = L"Category Name")]
[ValidateNotNullOrEmptyAttribute]
property String^ Name {
	String^ get ();
	void set (String^ value);
}
[<ParameterAttribute(Position = 0, Mandatory = true, ValueFromPipeline = false, 
	ParameterSetName = "Name", HelpMessage = "Category Name")>]
[<ValidateNotNullOrEmptyAttribute>]
member Name : string with get, set

Property Value

Type: String

See Also

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