Venice
DdMan::SeekByMandId
 
Seeks a Direct Debit Mandate card by its mandate identification.
 
VARIANT_BOOL SeekByMandId (
    enum eSeekMode eSeekMode,
    BSTR bsMandId
)
 
Key information
This method uses key number 1 (See SwapKey).
This is a unique key.
 
Key segment information
Segment NameTypeOrderCollation
pMandateIdBSTRAscendingCase insensitive
 
Parameters
eSeekMode
[in] A value of the 'eSeekMode' enumeration.
bsMandId
[in] The mandate identification of the mandate you want to seek.
 
See Also
CreateDdMan
 
Samples
 
C++
 
// Seek the mandate with mandate identification = "0001"
if (pDdMan->SeekByMandId (smEqual, "0001"))
// Process record data

C#
 
// Seek the mandate with mandate identification = "0001"
if (oDdMan.SeekByMandId (eSeekMode.smEqual, "0001"))
    // Process record data

VBS
 
' Seek the mandate with mandate identification = "0001"
If oDdMan.SeekByMandId (smEqual, "0001") Then
    ' Process record data
End If

VB.NET
 
' Seek the mandate with mandate identification = "0001"
If oDdMan.SeekByMandId (eSeekMode.smEqual, "0001") Then
    ' Process record data
End If