IDVBCMExecRecipeInfo::parametercount

Method Signatures

 

C\C++

HRESULT get_ParameterCount(

long lWait,

long *lParameterCount)

VB

Public Property Get ParameterCount(

ByVal lWait As Long) As Long

This property returns the number of parameters for the given recipe.

Return Values

S_OK - success

else - failed

Memory Allocation

none

Visual Basic Usage Example

Private Sub Button1_Click()
    Dim lParameterCount As Long
    Dim objExecRecipeInfo As DVBCMExecRecipeInfo
    Call GetExecRecipeInfoObject(objExecRecipeInfo)
    lParameterCount = objExecRecipeInfo.ParameterCount
End Sub

Parameter Name

Purpose

lWait

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

lParameterCount

Returns the number of parameters for the given recipe.