APGen Documentation Previous Topic: APGError.LineNumber Next Topic: APGError.Handled Parent Topic: APGError Object    APGError Object
APGError.Source
See Also:

The APGError.Source property returns a string describing what object raised the error.

Syntax

VBScript:

sSource = oAPGError.Source

JScript:

sSource = oAPGError.Source;

Object

oAPGError An APGError object.

Return Value

sSource A string describing what object raised the error.

Notes

For example, this property can be used to determine if the error is an APGen Syntax Error, a Microsoft VBScript runtime error, or a Microsoft OLE DB Provider for SQL Server error.

Applies To

APGError Object