The ChangeAgentParameter method modifies a replication agent profile parameter.
object.ChangeAgentParameter( lProfileID , bstrParameterName ,
bstrParameterValue )
| Part | Description |
|---|---|
| object | Expression that evaluates to an object in the Applies To list |
| lProfileID | Long integer identifying a replication agent profile |
| bstrParameter Name |
String specifying a profile parameter by name |
| bstrParameter Value |
String providing a new value for the parameter |
HRESULT ChangeAgentParameter(long lProfileID,
SQLDMO_LPCSTR szParameterName, SQLDMO_LPCSTR szParameterValue);