共用方式為


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 中)

語法

'宣告
<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
Boolean