代替変数を削除します。
構文
EsbDeleteVariable
(
hCtx, pVariable
)
ByVal
hCtx
As Long
pVariable
As ESB_PVARIABLE_T
| パラメータ | 説明 |
|---|---|
hCtx |
APIへのコンテキスト・ハンドル。 |
pVariable |
削除される代替変数の説明を含む構造体を指すポインタ。 |
戻り値
成功の場合、ゼロが戻されます。
例
Declare Function EsbDeleteVariable Lib "esbapin" (ByVal hCtx As Long, pVariable As ESB_VARIABLE_T) As Long
Sub Esb_DeleteVariable ()
Dim sts As Long
Dim oVariable As ESB_VARIABLE_T
' Delete "QuarterName" Susbtitution Variable at the Sample application level
oVariable.Server = "Localhost"
oVariable.AppName = "Sample"
' ** Note that DbName has been left empty
oVariable.VarName = "QuarterName"
oVariable.VarValue = "Qtr1"
sts = EsbDeleteVariable(hCtx, oVariable)
End Sub
関連トピック