Database.IsDbManager Property
SQL Server 2012
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)
