IPipeline::EnableDesign

The EnableDesign method is used to prepare the pipeline for execution in one of two modes: design mode or execution mode. Execution mode (the default) is analagous to production mode, and is the default mode in which a pipeline starts.

The pipeline passes the design mode to the individual components (see IPipelineComponent::EnableDesign).

Only administrative tools should call this method. There is no reason to call it when executing a pipeline.

Syntax

HRESULT EnableDesign(
BOOLfEnable// in
);

Parameters

fEnable
Indicates whether the pipeline should be run in design mode (True) or execution mode (False).

Include File

<pipeline.h>
<pipecomp.h>

Return Value

Value Description
S_OK The method succeeded.


© 1997-1998 Microsoft Corporation. All rights reserved.