IServerSetupFacet.UserInstancesEnabled 属性

Gets the Boolean value that determines whether user instances are enabled.

命名空间:  Microsoft.SqlServer.Management.Smo
程序集:  Microsoft.SqlServer.Smo(在 Microsoft.SqlServer.Smo.dll 中)

语法

声明
<DisplayDescriptionKeyAttribute("IServerConfigurationFacet_UserInstancesEnabledDesc")> _
<DisplayNameKeyAttribute("IServerConfigurationFacet_UserInstancesEnabledName")> _
ReadOnly Property UserInstancesEnabled As Boolean 
    Get
用法
Dim instance As IServerSetupFacet 
Dim value As Boolean 

value = instance.UserInstancesEnabled
[DisplayDescriptionKeyAttribute("IServerConfigurationFacet_UserInstancesEnabledDesc")]
[DisplayNameKeyAttribute("IServerConfigurationFacet_UserInstancesEnabledName")]
bool UserInstancesEnabled { get; }
[DisplayDescriptionKeyAttribute(L"IServerConfigurationFacet_UserInstancesEnabledDesc")]
[DisplayNameKeyAttribute(L"IServerConfigurationFacet_UserInstancesEnabledName")]
property bool UserInstancesEnabled {
    bool get ();
}
[<DisplayDescriptionKeyAttribute("IServerConfigurationFacet_UserInstancesEnabledDesc")>]
[<DisplayNameKeyAttribute("IServerConfigurationFacet_UserInstancesEnabledName")>]
abstract UserInstancesEnabled : bool
function get UserInstancesEnabled () : boolean

属性值

类型:System.Boolean
A Boolean value that specifies whether user instances are enabled.If True, user instances are enabled. Otherwise, False.

示例

设置属性

请参阅

参考

IServerSetupFacet 接口

Microsoft.SqlServer.Management.Smo 命名空间