AgentCore.ProfileName Property

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
public string ProfileName { get; set; }
public:
property String^ ProfileName {
    String^ get ();
    void set (String^ value);
}
/** @property */
public String get_ProfileName ()

/** @property */
public void set_ProfileName (String value)
public function get ProfileName () : String

public function set ProfileName (value : String)

Property Value

A String value.

Remarks

If ProfileName is not set, the default profile for the agent type is used. For information, see Replication Agent Profiles.

Thread Safety

Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.

Target Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.

See Also

Reference

AgentCore Class
AgentCore Members
Microsoft.SqlServer.Replication Namespace