Share via


Database.IsDbManager Property

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

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

Property Value

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

See Also

Reference

Database Class

Microsoft.SqlServer.Management.Smo Namespace