ChangeAgentParameter Method (SQL-DMO)

The ChangeAgentParameter method modifies a replication agent profile parameter.

Applies To

Distributor Object

Syntax

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

Prototype (C/C++)

HRESULT ChangeAgentParameter(long lProfileID,
SQLDMO_LPCSTR szParameterName, SQLDMO_LPCSTR szParameterValue);

  


(c) 1988-98 Microsoft Corporation. All Rights Reserved.