The ProfileName property specifies the name of the agent profile at the Distributor to be used by the control.
| SQLDistribution Object | SQLMerge Object | 
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 for the agent type is used.
String
Read/write
HRESULT get_ProfileName(BSTR *pVal);
HRESULT put_ProfileName(BSTR newVal);