adTempus API
ArcanaDevelopment.adTempus.ApplicationIntegration Namespace / ScriptHostInterface Class / CaptureFile Method / CaptureFile(String,String,String) Method
The path/name of an existing file.
The original path of the file. Specify null or empty string to use the fileName.
The name that the file should use after it is captured. Specify null or empty string to use the original name.


In This Topic
    CaptureFile(String,String,String) Method
    In This Topic
    Captures a file on disk and stores it in the job history.
    Syntax
    'Declaration
     
    
    Public Overloads Shared Sub CaptureFile( _
       ByVal fileName As String, _
       ByVal originalPath As String, _
       ByVal displayName As String _
    ) 
    public static void CaptureFile( 
       string fileName,
       string originalPath,
       string displayName
    )
    public:
    static void CaptureFile( 
       String^ fileName,
       String^ originalPath,
       String^ displayName
    ) 

    Parameters

    fileName
    The path/name of an existing file.
    originalPath
    The original path of the file. Specify null or empty string to use the fileName.
    displayName
    The name that the file should use after it is captured. Specify null or empty string to use the original name.
    Remarks
    The file is copied to the adTempus CapturedFiles directory when you call CaptureFile.
    See Also