Freigeben über


UserInstancesEnabled-Eigenschaft

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

Namespace:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Syntax

'Declaration
<DisplayNameKeyAttribute("IServerConfigurationFacet_UserInstancesEnabledName")> _
<DisplayDescriptionKeyAttribute("IServerConfigurationFacet_UserInstancesEnabledDesc")> _
ReadOnly Property UserInstancesEnabled As Boolean
    Get
'Usage
Dim instance As IServerSetupFacet
Dim value As Boolean

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

Eigenschaftenwert

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