共用方式為


IDatabaseSecurityFacet.IsOwnerSysadmin 屬性

Gets a Boolean value that specifies if the DBO is a system administrator.

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

語法

'宣告
<DisplayNameKeyAttribute("IDatabaseSecurityFacet_IsOwnerSysadminName")> _
<DisplayDescriptionKeyAttribute("IDatabaseSecurityFacet_IsOwnerSysadminDesc")> _
ReadOnly Property IsOwnerSysadmin As Boolean 
    Get
'用途
Dim instance As IDatabaseSecurityFacet 
Dim value As Boolean 

value = instance.IsOwnerSysadmin
[DisplayNameKeyAttribute("IDatabaseSecurityFacet_IsOwnerSysadminName")]
[DisplayDescriptionKeyAttribute("IDatabaseSecurityFacet_IsOwnerSysadminDesc")]
bool IsOwnerSysadmin { get; }
[DisplayNameKeyAttribute(L"IDatabaseSecurityFacet_IsOwnerSysadminName")]
[DisplayDescriptionKeyAttribute(L"IDatabaseSecurityFacet_IsOwnerSysadminDesc")]
property bool IsOwnerSysadmin {
    bool get ();
}
[<DisplayNameKeyAttribute("IDatabaseSecurityFacet_IsOwnerSysadminName")>]
[<DisplayDescriptionKeyAttribute("IDatabaseSecurityFacet_IsOwnerSysadminDesc")>]
abstract IsOwnerSysadmin : bool
function get IsOwnerSysadmin () : boolean

屬性值

型別:System.Boolean
Boolean If True the database owner is a system administrator.If False the database owner is not a system administrator.

請參閱

參考

IDatabaseSecurityFacet 介面

Microsoft.SqlServer.Management.Smo 命名空間