次の方法で共有


UserInstancesEnabled プロパティ

UserInstancesEnabled プロパティ値が設定されているかどうかを示すブール値を取得します。値の設定も可能です。

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

構文

'宣言
Property UserInstancesEnabled As Boolean
    Get
    Set
'使用
Dim instance As IServerConfigurationFacet
Dim value As Boolean

value = instance.UserInstancesEnabled

instance.UserInstancesEnabled = value
bool UserInstancesEnabled { get; set; }
property bool UserInstancesEnabled {
    bool get ();
    void set (bool value);
}
abstract UserInstancesEnabled : bool with get, set
function get UserInstancesEnabled () : boolean
function set UserInstancesEnabled (value : boolean)

プロパティ値

型: System. . :: . .Boolean
このプロパティが設定されている場合は True です。このプロパティが設定されていない場合は False です。