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: System.Boolean

Boolean indicating if the database owner is a sysadmin.

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

Return to top
Show: