IDVBCMExecRecipeInfo::batchrunlength

Method Signatures

 

C\C++

HRESULT get_BatchRunLength(

long lWait,

BSTR *bstrBatchRunLength)

VB

Public Property Get BatchRunLength(

ByVal lWait As Long) As String

This property returns the run length of the given recipe.

Return Values

S_OK - success

else - failed

Memory Allocation

The caller is responsible for releasing the memory associated with the returned string.

Visual Basic Usage Example

Private Sub Button1_Click()
    Dim szBatchRunLength As String
    Dim objExecRecipeInfo As DVBCMExecRecipeInfo
    Call GetExecRecipeInfoObject(objExecRecipeInfo)
    szBatchRunLength = objExecRecipeInfo.BatchRunLength
End Sub

Parameter Name

Purpose

lWait

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

bstrBatchRunLength

The returned string representing the recipe's run length.