Developer Resources for AbleCommerce eCommerce platform
CommerceBuilder.Orders Namespace / ISubscriptionRepository Interface / LoadExpiredSubscriptions Method / LoadExpiredSubscriptions(Int32,String) Method
The product Id to look for
Sort expression to use for sorting the loaded objects
Version
LoadExpiredSubscriptions(Int32,String) Method
Load a list of expired subscriptions
Syntax
IList<Subscription> LoadExpiredSubscriptions( 
   int productId,
   string sortExpression
)

Parameters

productId
The product Id to look for
sortExpression
Sort expression to use for sorting the loaded objects

Return Value

A list of expired subscriptions
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