IServerInformation.IsSingleUser 属性
Gets a value that indicates whether the instance of SQL Server is read-only.
命名空间: Microsoft.SqlServer.Management.Smo
程序集: Microsoft.SqlServer.Smo(在 Microsoft.SqlServer.Smo.dll 中)
语法
声明
<DisplayNameKeyAttribute("Server_IsSingleUserName")> _
<DisplayDescriptionKeyAttribute("Server_IsSingleUserDesc")> _
ReadOnly Property IsSingleUser As Boolean
Get
用法
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
属性值
类型:System.Boolean
True if the instance of SQL Server is read-only; otherwise, false.