The ProfileName property returns or sets the name of the agent profile at the Distributor to be used by the replication control.
object.ProfileName [= value]
| Part | Description |
|---|---|
| object | Expression that evaluates to an object in the Applies To list. |
| value | Agent profile name. |
If not specified, the default profile for the agent type is used.
String
Read/write
HRESULT get_ProfileName(BSTR *pVal);
HRESULT put_ProfileName(BSTR newVal);
How to create a replication agent profile (Enterprise Manager)