Dela via


JobStep.ProxyName Property

Gets or sets the name of the Microsoft SQL Server Agent proxy account that is required by the job step.

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

Syntax

'Declaration
<SfcPropertyAttribute(SfcPropertyFlags.Standalone)> _
Public Property ProxyName As String
    Get
    Set
'Usage
Dim instance As JobStep
Dim value As String

value = instance.ProxyName

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

Property Value

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