Compartir a través de


JobStep.ProxyName Propiedad

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

Espacio de nombres:  Microsoft.SqlServer.Management.Smo.Agent
Ensamblado:  Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)

Sintaxis

'Declaración
<SfcPropertyAttribute(SfcPropertyFlags.Standalone)> _
Public Property ProxyName As String 
    Get 
    Set
'Uso
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)

Valor de la propiedad

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

Comentarios

Esta propiedad se introdujo en SQL Server 2005.

Ejemplos

Programar tareas administrativas automáticas en el Agente SQL Server

Vea también

Referencia

JobStep Clase

Espacio de nombres Microsoft.SqlServer.Management.Smo.Agent

Otros recursos

Tareas administrativas automatizadas (Agente SQL Server)

sp_help_jobstep (Transact-SQL)