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

PI Powershell

AddAFCategory.AFDatabase Property

  • Last UpdatedDec 15, 2025
  • 2 minute read
AddAFCategory.AFDatabase Property

AF Database for which to add the AF Category

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

Syntax

[ParameterAttribute(Position = 2, Mandatory = true, ValueFromPipeline = true, 
	HelpMessage = "AF Database")]
[ValidateNotNullOrEmptyAttribute]
public AFDatabase AFDatabase { get; set; }
<ParameterAttribute(Position := 2, Mandatory := true, ValueFromPipeline := true, 
	HelpMessage := "AF Database")>
<ValidateNotNullOrEmptyAttribute>
Public Property AFDatabase As AFDatabase
	Get
	Set

Dim instance As AddAFCategory
Dim value As AFDatabase

value = instance.AFDatabase

instance.AFDatabase = value
public:
[ParameterAttribute(Position = 2, Mandatory = true, ValueFromPipeline = true, 
	HelpMessage = L"AF Database")]
[ValidateNotNullOrEmptyAttribute]
property AFDatabase^ AFDatabase {
	AFDatabase^ get ();
	void set (AFDatabase^ value);
}
[<ParameterAttribute(Position = 2, Mandatory = true, ValueFromPipeline = true, 
	HelpMessage = "AF Database")>]
[<ValidateNotNullOrEmptyAttribute>]
member AFDatabase : AFDatabase with get, set

Property Value

Type: AFDatabase

See Also

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