ProfileName Property

Replication Programming

Replication Programming

ProfileName Property

The ProfileName property returns or sets the name of the agent profile at the Distributor to be used by the replication control.

Applies To

SQLDistribution Object

SQLMerge Object

SQLSnapshot Object

Syntax

object.ProfileName [= value]

Part Description
object Expression that evaluates to an object in the Applies To list.
value Agent profile name.
Remarks

If not specified, the default profile for the agent type is used.

Data Type

String

Modifiable

Read/write

Prototype C/C++

HRESULT get_ProfileName(BSTR *pVal);

HRESULT put_ProfileName(BSTR newVal);

See Also

Agent Profiles

How to create a replication agent profile (Enterprise Manager)