The ProfileName property returns or sets the name of the replication 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. | 
Applies To
SQLDistribution Object (Replication ActiveX)
SQLMerge Object (Replication ActiveX)
备注
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);