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(SfcPropertyFlags.None Or SfcPropertyFlags.Standalone Or SfcPropertyFlags.SqlAzureDatabase)> _
Public ReadOnly Property IsSingleUser As Boolean
    Get
用法
Dim instance As Information
Dim value As Boolean

value = instance.IsSingleUser
[SfcPropertyAttribute(SfcPropertyFlags.None|SfcPropertyFlags.Standalone|SfcPropertyFlags.SqlAzureDatabase)]
public bool IsSingleUser { get; }
[SfcPropertyAttribute(SfcPropertyFlags::None|SfcPropertyFlags::Standalone|SfcPropertyFlags::SqlAzureDatabase)]
public:
property bool IsSingleUser {
    bool get ();
}
[<SfcPropertyAttribute(SfcPropertyFlags.None|SfcPropertyFlags.Standalone|SfcPropertyFlags.SqlAzureDatabase)>]
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).