IDVBCMExecRecipeInfo::batchsizemax

Method Signatures

 

C\C++

HRESULT get_BatchSizeMax(

long lWait,

float *fBatchMaxSize)

VB

Public Property Get BatchSizeMax(

ByVal lWait As Long) As Single

This property returns the maximum size of the given recipe.

Return Values

S_OK - success

else - failed

Memory Allocation

none

Visual Basic Usage Example

Private Sub Button1_Click()
    Dim fMax As Single
    Dim objExecRecipeInfo As DVBCMExecRecipeInfo
    Call GetExecRecipeInfoObject(objExecRecipeInfo)
    fMax = objExecRecipeInfo.BatchMaxSize
End Sub

Parameter Name

Purpose

lWait

Optional. Default = 30000. Time to wait for a server resource in milliseconds.

fBatchMaxSize

The returned float representing the recipe's maximum size.