ConnectionCode 변경 (Connection Code 는 Admin - 데이타베이스관리 또는  Repository 의 DB MTX_DBMS Table 에서 확인 가능)
DB001 -> DB002 로 변경


public void ChangeConnectionCode(string beforeCode, string afterCode)


Parameters

Name동작명비고
beforeCode
이전 Connection Code
afterCode
변경할 Connection Code




Return Value

Type:  void


VBA 코드


Sub SetConnectionCodeTest()
	Dim mxmodule As Object

	Set mxmodule = Application.COMAddIns.Item("ExcelModule.AddinModule").Object

        'ConnectionCode 변경 (Connection Code 는 Admin - 데이타베이스관리 또는  Repository 의 DB MTX_DBMS Table 에서 확인 가능)
        'DB001 -> DB002 로 변경
        mxmodule.xapi.ChangeConnectionCode "DB001" , "DB002"
End Sub