Share via


ServerProxyAccount.WindowsAccount Property

Gets the proxy account name.

Namespace:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Syntax

'Declaration
<SfcPropertyAttribute(SfcPropertyFlags.Standalone)> _
Public Property WindowsAccount As String 
    Get 
    Set
'Usage
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)

Property Value

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

Examples

Scheduling Automatic Administrative Tasks in SQL Server Agent

See Also

Reference

ServerProxyAccount Class

Microsoft.SqlServer.Management.Smo Namespace