Udostępnij przez


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

'Deklaracja
Public ReadOnly Property IsOwnerSysadmin As Boolean
public bool IsOwnerSysadmin { get; }
public:
virtual property bool IsOwnerSysadmin {
    bool get () sealed;
}
/** @property */
public final boolean get_IsOwnerSysadmin ()
public final function get IsOwnerSysadmin () : boolean

Property Value

Boolean indicating if the database owner is a sysadmin.

Remarks

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

Thread Safety

Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server.

Target Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server.