Enabled プロパティ

ポリシーが有効かどうかを示す Boolean 値を取得または設定します。

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

構文

'宣言
<SfcPropertyAttribute(SfcPropertyFlags.Required)> _
Public Property Enabled As Boolean
    Get
    Set
'使用
Dim instance As Policy
Dim value As Boolean

value = instance.Enabled

instance.Enabled = value
[SfcPropertyAttribute(SfcPropertyFlags.Required)]
public bool Enabled { get; set; }
[SfcPropertyAttribute(SfcPropertyFlags::Required)]
public:
property bool Enabled {
    bool get ();
    void set (bool value);
}
[<SfcPropertyAttribute(SfcPropertyFlags.Required)>]
member Enabled : bool with get, set
function get Enabled () : boolean
function set Enabled (value : boolean)

プロパティ値

型: System. . :: . .Boolean
ポリシーが有効かどうかを示す Boolean オブジェクト値です。
True の場合、ポリシーは有効です。False (既定値) の場合、ポリシーは無効です。

説明

この名前空間、クラス、またはメンバーは、Microsoft .NET Framework Version 2.0 でのみサポートされています。