GetXMLErrorsListFromDatabase

Returns the reference numbers, log types, timestamps, application server names, and application names of system errors. You can filter the errors to be returned by date range, application server name, and application name.

These error details are returned in a set of arrays that have a one-to-one correspondence to each other.

Syntax

<HsxServer>.GetXMLErrorsListFromDatabase dStartTimeStamp, dEndTimeStamp, bstrServerName, bstrApplicationName, pvarabstrReference, pvarabstrLogType, pvarabstrTimeStamp, pvarabstrServerName, pvarabstrApplicationName

Argument

Description

dStartTimeStamp

Double (ByVal). The start of the date range to filter by, or 0 to omit filtering by timestamp.

dEndTimeStamp

Double (ByVal). The end of the date range to filter by, or 0 to omit filtering by timestamp.

bstrServerName

String (ByVal). The name of the application server to filter by, or an empty string to omit filtering by server.

bstrApplicationName

String (ByVal). The name of the application to filter by or an empty string to omit filtering by server.

pvarabstrReference

Variant. Returns an array of strings containing the reference numbers of the system errors that match the search criteria.

pvarabstrLogType

Variant. Returns an array of strings containing the errors’ log types.

The valid return values are represented by the constants in Log Severity Constants.

pvarabstrTimeStamp

Variant. Returns an array of strings containing the errors’ timestamps.

pvarabstrServerName

Variant. Returns an array of strings containing the errors’ application server names.

pvarabstrApplicationName

Variant. Returns an array of strings containing the errors’ application names.