ChangeParameter 메서드
Changes the value of an existing replication agent parameter in the profile.
네임스페이스: Microsoft.SqlServer.Replication
어셈블리: Microsoft.SqlServer.Rmo(Microsoft.SqlServer.Rmo.dll)
구문
‘선언
Public Sub ChangeParameter ( _
name As String, _
newValue As String _
)
‘사용 방법
Dim instance As AgentProfile
Dim name As String
Dim newValue As String
instance.ChangeParameter(name, newValue)
public void ChangeParameter(
string name,
string newValue
)
public:
void ChangeParameter(
String^ name,
String^ newValue
)
member ChangeParameter :
name:string *
newValue:string -> unit
public function ChangeParameter(
name : String,
newValue : String
)
매개 변수
- name
유형: System. . :: . .String
A String that specifies the name of the parameter.
- newValue
유형: 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.