Partager via


EnableDesign Method

Implements the EnableDesignMethod of IPipelineComponentDescription interface.

Namespace:  Microsoft.CommerceServer.Catalog
Assembly:  Microsoft.CatalogServer (in Microsoft.CatalogServer.dll)

Syntax

'Declaration
Public Overridable Sub EnableDesign ( _
    fEnable As Integer _
)
'Usage
Dim instance As QueryCatalogInfoClass
Dim fEnable As Integer

instance.EnableDesign(fEnable)
public virtual void EnableDesign(
    int fEnable
)
public:
virtual void EnableDesign(
    [InAttribute] int fEnable
)
public function EnableDesign(
    fEnable : int
)

Parameters

  • fEnable
    Type: System..::.Int32
    Indicates whether the component should be run in design mode. true to indicate that the component should be run in the design mode; otherwise, false.

Remarks

This method is required by the IPipelineComponent interface.

Use this method to prepare the component for execution in one of two modes: design mode or execution mode. In design mode, which is useful for running the Pipeline Editor, errors are more easily tolerated. Execution mode (the default) is analogous to production mode.

Permissions

See Also

Reference

QueryCatalogInfoClass Class

QueryCatalogInfoClass Members

Microsoft.CommerceServer.Catalog Namespace