Export (0) Print
Expand All

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)

public bool IsOwnerSysadmin { get; }

Property Value

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



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

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

© 2015 Microsoft