共用方式為


ServerProxyAccount.WindowsAccount 屬性

Gets the proxy account name.

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

語法

'宣告
<SfcPropertyAttribute(SfcPropertyFlags.Standalone)> _
Public Property WindowsAccount As String 
    Get 
    Set
'用途
Dim instance As ServerProxyAccount 
Dim value As String 

value = instance.WindowsAccount

instance.WindowsAccount = value
[SfcPropertyAttribute(SfcPropertyFlags.Standalone)]
public string WindowsAccount { get; set; }
[SfcPropertyAttribute(SfcPropertyFlags::Standalone)]
public:
property String^ WindowsAccount {
    String^ get ();
    void set (String^ value);
}
[<SfcPropertyAttribute(SfcPropertyFlags.Standalone)>]
member WindowsAccount : string with get, set
function get WindowsAccount () : String 
function set WindowsAccount (value : String)

屬性值

型別:System.String
A String value that specifies the name of the proxy account.

範例

使用 SQL Server Agent 排程自動管理工作

請參閱

參考

ServerProxyAccount 類別

Microsoft.SqlServer.Management.Smo 命名空間