مشاركة عبر


IServerInformation.IsSingleUser Property

Gets a value that indicates whether the instance of SQL Server is read-only.

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

Syntax

'Declaration
<DisplayNameKeyAttribute("Server_IsSingleUserName")> _
<DisplayDescriptionKeyAttribute("Server_IsSingleUserDesc")> _
ReadOnly Property IsSingleUser As Boolean 
    Get
'Usage
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

Property Value

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

See Also

Reference

IServerInformation Interface

Microsoft.SqlServer.Management.Smo Namespace