サーバー上のアプリケーション・ログ・ファイルを削除します。
構文
EsbDeleteLogFile ( hCtx, AppName ) ByVal hCtx As Long ByVal AppName As String
パラメータ | 説明 |
---|---|
hCtx |
VB APIコンテキスト・ハンドル |
AppName |
アプリケーション名。AppNameがNULLまたは""(空の文字列)の場合、EsbDeleteLogFile()は、essbase.logログ・ファイルを削除します。 |
戻り値
なし。
アクセス
この関数を使用するには、指定されたアプリケーションに対して、呼出し元がアプリケーション・デザイン権限(ESB_PRIV_APPDESIGN)を持っている必要があります。
例
Declare Function EsbDeleteLogFile Lib "ESBAPIN" (ByVal hCtx As Long, ByVal AppName As String) As Long Sub ESB_DeleteLogFile () Dim sts As Long Dim AppName As String AppName = "Sample" '**************** ' Delete Log file '**************** sts = EsbDeleteLogFile (hCtx, AppName) End Sub
関連トピック