PolicyStore.Enabled プロパティ

ポリシー ストアが有効になっているかどうかを取得または設定します。

名前空間:  Microsoft.SqlServer.Management.Dmf
アセンブリ:  Microsoft.SqlServer.Dmf (Microsoft.SqlServer.Dmf.dll)

構文

'宣言
<SfcPropertyAttribute(Data := True)> _
Public Property Enabled As Boolean 
    Get 
    Set
'使用
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)

プロパティ値

型: System.Boolean
ポリシー ストアが有効の場合はブール値の True、それ以外の場合は False になります。

関連項目

参照

PolicyStore クラス

Microsoft.SqlServer.Management.Dmf 名前空間