SetAFDatabase.AFDatabase Property
- Last UpdatedDec 15, 2025
- 2 minute read
AFDatabase object representing the AF Database to set. Can be obtained with Get-AFDatabase.
Run "Get-Help Get-AFDatabase -Examples" for more information and sample usage.
Namespace: OSIsoft.PowerShell
Assembly: OSIsoft.PowerShell (in OSIsoft.PowerShell.dll) Version: 3.1.1.0 (3.1.1.466)
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 SetAFDatabase 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