EsbOtlCreateAliasTable

アウトラインに空の別名テーブルを作成します。

構文

            EsbOtlCreateAliasTable
             (
            hOutline, pszAliasTable
            )
ByVal 
            hOutline
                  As Long
ByVal 
            pszAliasTable
             As String
         
パラメータ説明

hOutline

アウトラインのコンテキスト・ハンドル。

pszAliasTable

作成する別名テーブル名。

備考

戻り値

正常終了の場合は0が戻されます。それ以外の場合は、次のいずれかの値が戻されます:

         Declare Function EsbOtlCreateAliasTable Lib 
"ESBOTLN" (ByVal hOutline As Long, 
ByVal pszAliasTable As String) As Long

Sub ESB_OtlCreateAliasTable()
Dim sts As Long
Dim Object As ESB_OBJDEF_T
Dim hOutline As Long
Object.hCtx = hCtx
Object.Type = ESB_OBJTYPE_OUTLINE
Object.AppName = "Sample"
Object.DbName = "Basic"
Object.FileName = "Basic"
sts = EsbOtlOpenOutline(hCtx, Object,
ESB_YES, ESB_YES, hOutline)
If sts = 0 Then
   sts = EsbOtlCreateAliasTable(hOutline, 
    "Alias Table 1")
End If
End Sub
      

関連トピック