IDatabaseSecurityFacet.IsOwnerSysadmin Property
Gets a Boolean value that specifies if the DBO is a system administrator.
Namespace: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)
Syntax
'Declaration
<DisplayDescriptionKeyAttribute("IDatabaseSecurityFacet_IsOwnerSysadminDesc")> _
<DisplayNameKeyAttribute("IDatabaseSecurityFacet_IsOwnerSysadminName")> _
ReadOnly Property IsOwnerSysadmin As Boolean
Get
'Usage
Dim instance As IDatabaseSecurityFacet
Dim value As Boolean
value = instance.IsOwnerSysadmin
[DisplayDescriptionKeyAttribute("IDatabaseSecurityFacet_IsOwnerSysadminDesc")]
[DisplayNameKeyAttribute("IDatabaseSecurityFacet_IsOwnerSysadminName")]
bool IsOwnerSysadmin { get; }
[DisplayDescriptionKeyAttribute(L"IDatabaseSecurityFacet_IsOwnerSysadminDesc")]
[DisplayNameKeyAttribute(L"IDatabaseSecurityFacet_IsOwnerSysadminName")]
property bool IsOwnerSysadmin {
bool get ();
}
[<DisplayDescriptionKeyAttribute("IDatabaseSecurityFacet_IsOwnerSysadminDesc")>]
[<DisplayNameKeyAttribute("IDatabaseSecurityFacet_IsOwnerSysadminName")>]
abstract IsOwnerSysadmin : bool
function get IsOwnerSysadmin () : boolean
Property Value
Type: System.Boolean
Boolean
If True the database owner is a system administrator.
If False the database owner is not a system administrator.