IDVBCMExecRecipeInfo::filename

Method Signatures

 

C\C++

HRESULT get_FileName(

long lWait,

BSTR *bstrFileName)

VB

Public Property Get FileName(

ByVal lWait As Long) As String

This property returns the filename 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 szFileName As String
    Dim objExecRecipeInfo As DVBCMExecRecipeInfo
    Call GetExecRecipeInfoObject(objExecRecipeInfo)
    szFileName = objExecRecipeInfo.FileName
End Sub

Parameter Name

Purpose

lWait

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

bstrFileName

The returned string representing the recipe's filename.