Partager via


Propriété JobStep.ProxyName

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

Espace de noms :  Microsoft.SqlServer.Management.Smo.Agent
Assembly :  Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)

Syntaxe

'Déclaration
<SfcPropertyAttribute(SfcPropertyFlags.Standalone)> _
Public Property ProxyName As String 
    Get 
    Set
'Utilisation
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)

Valeur de propriété

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

Notes

Cette propriété a été introduite dans SQL Server 2005.

Exemples

Planification des tâches administratives automatiques dans l'Agent SQL Server

Voir aussi

Référence

JobStep Classe

Espace de noms Microsoft.SqlServer.Management.Smo.Agent

Autres ressources

Tâches d'administration automatisée (Agent SQL Server)

sp_help_jobstep (Transact-SQL)