April 2003
Beginner to intermediate
620 pages
21h 48m
English
SqlErrorCollection
Contains a collection of SqlError instances, which
are stored in the collection accessed by the
SqlException.Errors property to indicate all the
errors that have occurred with the SQL Server provider. This
collection always contains at least one SqlError
object.
public sealed class SqlErrorCollection : ICollection, IEnumerable { // Public Instance Properties public int Count{get; } // implements ICollection public SqlError this[intindex]{get; } // Public Instance Methods public void CopyTo(Arrayarray, intindex); // implements ICollection public IEnumerator GetEnumerator( ); // implements IEnumerable }
SqlException.Errors, SqlInfoMessageEventArgs.Errors
Read now
Unlock full access