API browser of tarmedValidator100 COM module


/images/arrow_right.png ISearch::GetFirstQuantityMultiSessionRestriction method
This method retrieves the first multi session quantity restriction for the service. If the method returns false there are no restrictions. If the method returns true there are quantity restrictions which will not be tested by the tarmedValidator. space
 
/images/arrow_right.png C/C++ calling syntax
HRESULT GetFirstQuantityMultiSessionRestriction( BSTR
double
double
BSTR
BSTR
BSTR
VARIANT_BOOL
*pbstrOperator,
*pdQuantity,
*pdDays,
*pbstrTimeUnit,
*pbstrSettlementType,
*pbstrServiceGroup,
*pbStatus);
 
/images/arrow_right.png Calling argument description
[out] BSTR *pbstrOperator Operator.
[out] double *pdQuantity Quantity.
[out] double *pdDays Number of days for which the quantity restriction applies.
[out] BSTR *pbstrTimeUnit Time unit code.
[out] BSTR *pbstrSettlementType SettlementType for which the restriction applies, an empty value indicates that the restriction applies to the service independently of the settlement type.
[out] BSTR *pbstrServiceGroup Service group code. If not empty the quantity restriction applies to the whole service group.
[out, retval] VARIANT_BOOL *pbStatus Return status of the method
 
/images/arrow_right.png C/C++ return value
S_OK This value is returned if the function call was successful or if the return value of a boolean method signalling a true value. In this case the VARIANT_BOOL is set to VARIANT_TRUE.
S_FALSE This is the return value of a boolean method signalling a false return value. In this case the VARIANT_BOOL is set to VARIANT_FALSE.
E_name This value is returned if the function call was unsuccessful and an error exception was generated. Note that if you are using SmartPointers an exception is thrown under these conditions.