|
The name of the object or application that originally generated an error.
Returns a String value.
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.
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.
See the ADO Error Object Description Property example.
Copyright 2002 Sun Microsystems, Inc. All rights reserved. Legal Notice.