共用方式為


IsSingleUser 屬性

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

命名空間:  Microsoft.SqlServer.Management.Smo
組件:  Microsoft.SqlServer.Smo (在 Microsoft.SqlServer.Smo.dll 中)

語法

'宣告
<DisplayDescriptionKeyAttribute("Server_IsSingleUserDesc")> _
<DisplayNameKeyAttribute("Server_IsSingleUserName")> _
ReadOnly Property IsSingleUser As Boolean
    Get
'用途
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

屬性值

型別:System. . :: . .Boolean
Boolean