Udostępnij przez


IServerInformation.IsSingleUser Property

Gets a Boolean value that specifies if the instance of SQL Server is read-only. This property is not CLS-compliant.

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

Syntax

'Deklaracja
<DisplayNameKeyAttribute("Server_IsSingleUserName")> _
<DisplayDescriptionKeyAttribute("Server_IsSingleUserDesc")> _
ReadOnly Property IsSingleUser As Boolean
[DisplayNameKeyAttribute("Server_IsSingleUserName")] 
[DisplayDescriptionKeyAttribute("Server_IsSingleUserDesc")] 
bool IsSingleUser { get; }
[DisplayNameKeyAttribute(L"Server_IsSingleUserName")] 
[DisplayDescriptionKeyAttribute(L"Server_IsSingleUserDesc")] 
property bool IsSingleUser {
    bool get ();
}
/** @property */
boolean get_IsSingleUser ()
function get IsSingleUser () : boolean

Property Value

Boolean

Thread Safety

Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server.

Target Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server.