int SearchCount( int subscriptionPlanId, string orderRange, string userIdRange, string firstName, string lastName, string email, DateTime expirationStart, DateTime expirationEnd, BitFieldState active, int groupId )
Parameters
- subscriptionPlanId
- Specifies the subscription plan to match - pass 0 for all plans.
- orderRange
- Order number or range of orders to find.
- userIdRange
- User Id range of subscriptions to find.
- firstName
- The first name to match, by default a begins with match or use * wildcard to alter behavior.
- lastName
- The last name to match, by default a begins with match or use * wildcard to alter behavior.
- The email name to match, by default a begins with match or use * wildcard to alter behavior.
- expirationStart
- Specifies to match subscriptions that expire on or after this date. Pass DateTime.MinValue for no start date.
- expirationEnd
- Specifies to match subscriptions that expire on or before this date. Pass DateTime.MaxValue for no end date.
- active
- True, false, or any to filter by active status.
- groupId
- Given subscription group id.
Return Value
A count of subscriptions matching the given search criteria