Freigeben über


AgentCore.ProfileName-Eigenschaft

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

Namespace:  Microsoft.SqlServer.Replication
Assembly:  Microsoft.SqlServer.Replication (in Microsoft.SqlServer.Replication.dll)

Syntax

'Declaration
Public Property ProfileName As String 
    Get 
    Set
'Usage
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)

Eigenschaftswert

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

Hinweise

If ProfileName is not set, the default profile for the agent type is used. For information, see Replikations-Agent-Profile.

Siehe auch

Verweis

AgentCore Klasse

Microsoft.SqlServer.Replication-Namespace