次の方法で共有


ServerActiveDirectory.IsEnabled プロパティ

Active Directory サービスが利用可能かどうかを示す Boolean プロパティ値を取得します。

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

構文

'宣言
<SfcPropertyAttribute(SfcPropertyFlags.Standalone)> _
Public ReadOnly Property IsEnabled As Boolean 
    Get
'使用
Dim instance As ServerActiveDirectory 
Dim value As Boolean 

value = instance.IsEnabled
[SfcPropertyAttribute(SfcPropertyFlags.Standalone)]
public bool IsEnabled { get; }
[SfcPropertyAttribute(SfcPropertyFlags::Standalone)]
public:
property bool IsEnabled {
    bool get ();
}
[<SfcPropertyAttribute(SfcPropertyFlags.Standalone)>]
member IsEnabled : bool
function get IsEnabled () : boolean

プロパティ値

型: System.Boolean
Active Directory サービスが利用可能かどうかを示す Boolean 値です。True の場合は、Active Directory サービスを利用できます。False (既定値) の場合は、Active Directory サービスを利用できません。

使用例

プロパティの設定

関連項目

参照

ServerActiveDirectory クラス

Microsoft.SqlServer.Management.Smo 名前空間

その他の技術情報

Active Directory Stored Procedures (Transact-SQL)