共用方式為


IsSingleUser 屬性

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

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

語法

'宣告
<SfcPropertyAttribute> _
Public ReadOnly Property IsSingleUser As Boolean
    Get
'用途
Dim instance As Information
Dim value As Boolean

value = instance.IsSingleUser
[SfcPropertyAttribute]
public bool IsSingleUser { get; }
[SfcPropertyAttribute]
public:
property bool IsSingleUser {
    bool get ();
}
[<SfcPropertyAttribute>]
member IsSingleUser : bool
function get IsSingleUser () : boolean

屬性值

型別:System. . :: . .Boolean
A Boolean value that specifies whether the instance of SQL Server is read-only.
If True, the instance of SQL Server is read-only. Otherwise, False (default).