Sun Chili!Soft ASP Sun Chili!Soft
ASP Sun Microsystems

 

ADO Error Object Source Property

The name of the object or application that originally generated an error.

Source Property Return Values

Returns a String value.

Source Property Remarks

Use the Source property on an Error object to determine the name of the object or application that originally generated an error. This could be the object's class name or programmatic ID. For errors in ADODB, the property value will be ADODB.ObjectName.

Source Property Parameters (ADO Error Object)

ObjectName

The name of the object that triggered the error. The Source property is read-only for Error objects.

Based on the error documentation from the Source, ADO Error Object Number Property, and ADO Error Object Description Property properties of Error objects, you can write code that will handle the error appropriately.

Source Property Example

See the ADO Error Object Description Property example.

Copyright 2002 Sun Microsystems, Inc. All rights reserved. Legal Notice.