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.
Remarks
This property was introduced in SQL Server 2005.
Examples
Scheduling Automatic Administrative Tasks in SQL Server Agent
See Also
Reference
Microsoft.SqlServer.Management.Smo.Agent Namespace