AgentProfile.ChangeParameter(String, String) AgentProfile.ChangeParameter(String, String) AgentProfile.ChangeParameter(String, String) Method

Definition

Changes the value of an existing replication agent parameter in the profile.

public:
 void ChangeParameter(System::String ^ name, System::String ^ newValue);
public void ChangeParameter (string name, string newValue);
Public Sub ChangeParameter (name As String, newValue As String)
Parameters
name
String String String

A String that specifies the name of the parameter.

newValue
String String String

A String that specifies the new value for the parameter.

Remarks

The ChangeParameter method can be called only by members of the sysadmin fixed server role at the Distributor.

Calling ChangeParameter is equivalent to executing sp_change_agent_parameter (Transact-SQL).

Applies to

See Also