페이지 트리

버전 비교

  • 이 줄이 추가되었습니다.
  • 이 줄이 삭제되었습니다.
  • 서식이 변경되었습니다.

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

...

코드 블럭
languagevb
titleSyntax
public void ChangeConnectionCode(string beforeCode, string afterCode)


Parameters

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

...

코드 블럭
languagevb
titleExample
linenumberstrue
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

...