Właściwość PolicyStore.Enabled
Pobiera lub ustawia, czy magazyn zasad jest włączona.
Przestrzeń nazw: Microsoft.SqlServer.Management.Dmf
Zestaw: Microsoft.SqlServer.Dmf (w Microsoft.SqlServer.Dmf.dll)
Składnia
'Deklaracja
<SfcPropertyAttribute(Data := True)> _
Public Property Enabled As Boolean
Get
Set
'Użycie
Dim instance As PolicyStore
Dim value As Boolean
value = instance.Enabled
instance.Enabled = value
[SfcPropertyAttribute(Data = true)]
public bool Enabled { get; set; }
[SfcPropertyAttribute(Data = true)]
public:
property bool Enabled {
bool get ();
void set (bool value);
}
[<SfcPropertyAttribute(Data = true)>]
member Enabled : bool with get, set
function get Enabled () : boolean
function set Enabled (value : boolean)
Wartość właściwości
Typ: System.Boolean
Wartość logiczna True Jeśli magazyn zasad jest włączony, w przeciwnym razie False.