Freigeben über


IsOwnerSysadmin-Eigenschaft

Determines if the database owner has a sysadmin role.

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

Syntax

'Declaration
Public ReadOnly Property IsOwnerSysadmin As Boolean
    Get
'Usage
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

Eigenschaftswert

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

Implementiert

IDatabaseSecurityFacet. . :: . .IsOwnerSysadmin

Hinweise

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