Compartilhar via


Propriedade IsSingleUser

Gets a Boolean value that specifies if the instance of SQL Server is read-only.

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

Sintaxe

'Declaração
<DisplayNameKeyAttribute("Server_IsSingleUserName")> _
<DisplayDescriptionKeyAttribute("Server_IsSingleUserDesc")> _
ReadOnly Property IsSingleUser As Boolean
    Get
'Uso
Dim instance As IServerInformation
Dim value As Boolean

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

Valor da propriedade

Tipo: System. . :: . .Boolean
Boolean