Export (0) Print
Expand All

AgentProfile.ChangeParameter Method

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

Namespace:  Microsoft.SqlServer.Replication
Assembly:  Microsoft.SqlServer.Rmo (in Microsoft.SqlServer.Rmo.dll)

public void ChangeParameter(
	string name,
	string newValue
)

Parameters

name
Type: System.String
A String that specifies the name of the parameter.
newValue
Type: System.String
A String that specifies the new value for the parameter.

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).

This namespace, class, or member is supported only in the .NET Framework 2.0.

Community Additions

ADD
Show:
© 2014 Microsoft