IOrderPipeline::SetLogFile

The SetLogFile method enables order processing pipeline (OPP) logging. This is useful for debugging purposes. Specifying any log file enables logging. To turn it off, set bstrFileName to Null.

Syntax

HRESULT SetLogFile (
BSTRbstrFileName// in
);

Parameter

bstrFileName
Full path to the pipeline log file. This parameter must specify a location in which you have Write permission; otherwise, the log file creation will fail without warning.

Include File

<pipeline.h>
<pipecomp.h>

Return Value

Value Description
S_OK The log file was set.
E_INVALIDARG The bstrFilename parameter designates an invalid or nonexistent file.




© 1997-1998 Microsoft Corporation. All rights reserved.