EnableDesign Method
Implements the EnableDesign method of 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 CheckInventory
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
EnableDesign has no implementation and is used only to satisfy IPipelineComponentDescription 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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.