IDVBCMExecRecipeInfo::versionnumber

Method Signatures

 

C\C++

HRESULT get_VersionNumber(

long lWait,

BSTR *bstrVersionNumber)

VB

Public Property Get VersionNumber(

ByVal lWait As Long) As String

This property returns the version number 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 szVersionNumber As String
    Dim objExecRecipeInfo As DVBCMExecRecipeInfo
    Call GetExecRecipeInfoObject(objExecRecipeInfo)
    szVersionNumber = objExecRecipeInfo.VersionNumber
End Sub

Parameter Name

Purpose

lWait

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

bstrVersionNumber

The returned string representing the recipe's version number.