DatabaseSecurityAdapter.IsOwnerSysadmin Property
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
Property Value
Type: System.Boolean
Boolean indicating if the database owner is a sysadmin.
Implements
IDatabaseSecurityFacet.IsOwnerSysadmin
Remarks
Returns True if the database owner is granted the sysadmin role.