Database.IsDbManager 属性

Gets a value that specifies whether the current login is a database manager in SQL Database.

命名空间:  Microsoft.SqlServer.Management.Smo
程序集:  Microsoft.SqlServer.Smo(在 Microsoft.SqlServer.Smo.dll 中)

语法

声明
<SfcPropertyAttribute(SfcPropertyFlags.None Or SfcPropertyFlags.Expensive Or SfcPropertyFlags.SqlAzureDatabase)> _
Public ReadOnly Property IsDbManager As Boolean 
    Get
用法
Dim instance As Database 
Dim value As Boolean 

value = instance.IsDbManager
[SfcPropertyAttribute(SfcPropertyFlags.None|SfcPropertyFlags.Expensive|SfcPropertyFlags.SqlAzureDatabase)]
public bool IsDbManager { get; }
[SfcPropertyAttribute(SfcPropertyFlags::None|SfcPropertyFlags::Expensive|SfcPropertyFlags::SqlAzureDatabase)]
public:
property bool IsDbManager {
    bool get ();
}
[<SfcPropertyAttribute(SfcPropertyFlags.None|SfcPropertyFlags.Expensive|SfcPropertyFlags.SqlAzureDatabase)>]
member IsDbManager : bool
function get IsDbManager () : boolean

属性值

类型:System.Boolean
true if the current login is a database manager in SQL Database; otherwise, false.

请参阅

参考

Database 类

Microsoft.SqlServer.Management.Smo 命名空间