共用方式為


IServerSecurityFacet.ProxyAccountEnabled 屬性

Gets a value that indicates whether the proxy account is enabled.

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

語法

'宣告
<DisplayDescriptionKeyAttribute("IServerSecurityFacet_ProxyAccountEnabledDesc")> _
<DisplayNameKeyAttribute("IServerSecurityFacet_ProxyAccountEnabledName")> _
ReadOnly Property ProxyAccountEnabled As Boolean 
    Get
'用途
Dim instance As IServerSecurityFacet 
Dim value As Boolean 

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

屬性值

型別:System.Boolean
true if the proxy account is enabled; otherwise, false.

請參閱

參考

IServerSecurityFacet 介面

Microsoft.SqlServer.Management.Smo 命名空間