Developer Resources for AbleCommerce eCommerce platform
CommerceBuilder.Orders Namespace / OrderItemDigitalGood Class / Deactivate Method / Deactivate(Boolean,Boolean) Method
If true a serial key if acquired is returned back to the serial key pool of the provider
If 'true' DigitalGoodDeactivated event is raised. If 'false' event is suppressed.
In This Topic
    Deactivate(Boolean,Boolean) Method
    In This Topic
    Deactivates this digital good
    Syntax
    public virtual void Deactivate( 
       bool returnSerialKey,
       bool triggerEvents
    )

    Parameters

    returnSerialKey
    If true a serial key if acquired is returned back to the serial key pool of the provider
    triggerEvents
    If 'true' DigitalGoodDeactivated event is raised. If 'false' event is suppressed.
    Requirements

    Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also