adTempus API
ArcanaDevelopment.adTempus.Client Namespace / Job Class / GetLogMessages Method
Parameters for selecting the messages to return. See Remarks for additional information.


In This Topic
    GetLogMessages Method (Job)
    In This Topic
    Fetches log messages for this job
    Syntax
    'Declaration
     
    
    <NotNullAttribute()>
    Public Function GetLogMessages( _
       ByVal parameters As LogQueryParameters _
    ) As LogMessageCollection
    [NotNull()]
    public LogMessageCollection GetLogMessages( 
       LogQueryParameters parameters
    )
    [NotNull()]
    public:
    LogMessageCollection^ GetLogMessages( 
       LogQueryParameters^ parameters
    ) 

    Parameters

    parameters
    Parameters for selecting the messages to return. See Remarks for additional information.

    Return Value

    A collection containing the requested log messages.
    Remarks

    This method returns both instance-level and job-level (not associated with an instance) messages

    The TargetObjects collection for the parameters is cleared of all values and the job's OID is added. The MessageSources filter is set to ArcanaDevelopment.adTempus.Shared.LogQueryParameters.MessageSource.JobMessages. That is, this method will only return data for the current job. To query for multiple jobs use GetLogMessages.

    See Also