Partager via


Propriété DatabaseSecurityAdapter.IsOwnerSysadmin

Determines if the database owner has a sysadmin role.

Espace de noms :  Microsoft.SqlServer.Management.Smo
Assembly :  Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)

Syntaxe

'Déclaration
Public ReadOnly Property IsOwnerSysadmin As Boolean 
    Get
'Utilisation
Dim instance As DatabaseSecurityAdapter 
Dim value As Boolean 

value = instance.IsOwnerSysadmin
public bool IsOwnerSysadmin { get; }
public:
virtual property bool IsOwnerSysadmin {
    bool get () sealed;
}
abstract IsOwnerSysadmin : bool 
override IsOwnerSysadmin : bool
final function get IsOwnerSysadmin () : boolean

Valeur de propriété

Type : System.Boolean
Boolean indicating if the database owner is a sysadmin.

Implémente

IDatabaseSecurityFacet.IsOwnerSysadmin

Notes

Returns True if the database owner is granted the sysadmin role.

Voir aussi

Référence

DatabaseSecurityAdapter Classe

Espace de noms Microsoft.SqlServer.Management.Smo