AgentProfile.ChangeParameter(String, String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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);
member this.ChangeParameter : string * string -> unit
Public Sub ChangeParameter (name As String, newValue As String)
Parameters
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).