Propriété IServerInformation.IsSingleUser

Gets a value that indicates whether 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
<DisplayNameKeyAttribute("Server_IsSingleUserName")> _
<DisplayDescriptionKeyAttribute("Server_IsSingleUserDesc")> _
ReadOnly Property IsSingleUser As Boolean 
    Get
'Utilisation
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

Valeur de propriété

Type : System.Boolean
True if the instance of SQL Server is read-only; otherwise, false.

Voir aussi

Référence

IServerInformation Interface

Espace de noms Microsoft.SqlServer.Management.Smo