Partager via


EnableDesign Method

Implements the EnableDesign method of the IPipelineComponentDescription interface.

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

Syntax

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

instance.EnableDesign(fEnable)
public void EnableDesign(
    int fEnable
)
public:
virtual void EnableDesign(
    int fEnable
) sealed
public final 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

UpdateInventory Class

UpdateInventory Members

Microsoft.CommerceServer.Inventory Namespace