Share via


Propriété IsSingleUser

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

Espace de noms :  Microsoft.SqlServer.Management.Smo
Assembly :  Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)

Syntaxe

'Déclaration
<DisplayDescriptionKeyAttribute("Server_IsSingleUserDesc")> _
<DisplayNameKeyAttribute("Server_IsSingleUserName")> _
ReadOnly Property IsSingleUser As Boolean
    Get
'Utilisation
Dim instance As IServerInformation
Dim value As Boolean

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

Valeur de propriété

Type : System. . :: . .Boolean
Boolean