Partager via


Propriété AgentCore.ProfileName

Gets or sets an agent profile to use when running the agent.

Espace de noms :  Microsoft.SqlServer.Replication
Assembly :  Microsoft.SqlServer.Replication (en Microsoft.SqlServer.Replication.dll)

Syntaxe

'Déclaration
Public Property ProfileName As String 
    Get 
    Set
'Utilisation
Dim instance As AgentCore 
Dim value As String 

value = instance.ProfileName

instance.ProfileName = value
public string ProfileName { get; set; }
public:
property String^ ProfileName {
    String^ get ();
    void set (String^ value);
}
member ProfileName : string with get, set
function get ProfileName () : String 
function set ProfileName (value : String)

Valeur de propriété

Type : System.String
An agent profile to use when running the agent.

Notes

If ProfileName is not set, the default profile for the agent type is used. For information, see Profils de l'Agent de réplication.

Voir aussi

Référence

AgentCore Classe

Espace de noms Microsoft.SqlServer.Replication