Freigeben über


Database.IsDbManager-Eigenschaft

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

Namespace:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Syntax

'Declaration
<SfcPropertyAttribute(SfcPropertyFlags.None Or SfcPropertyFlags.Expensive Or SfcPropertyFlags.SqlAzureDatabase)> _
Public ReadOnly Property IsDbManager As Boolean 
    Get
'Usage
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

Eigenschaftswert

Typ: System.Boolean
true if the current login is a database manager in SQL-Datenbank; otherwise, false.

Siehe auch

Verweis

Database Klasse

Microsoft.SqlServer.Management.Smo-Namespace