共用方式為


DatabaseSecurityAdapter.IsOwnerSysadmin 屬性

Determines if the database owner has a sysadmin role.

命名空間:  Microsoft.SqlServer.Management.Smo
組件:  Microsoft.SqlServer.Smo (在 Microsoft.SqlServer.Smo.dll 中)

語法

'宣告
Public ReadOnly Property IsOwnerSysadmin As Boolean 
    Get
'用途
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

屬性值

型別:System.Boolean
Boolean indicating if the database owner is a sysadmin.

實作

IDatabaseSecurityFacet.IsOwnerSysadmin

備註

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

請參閱

參考

DatabaseSecurityAdapter 類別

Microsoft.SqlServer.Management.Smo 命名空間