SqlInfoMessageEventArgs

SqlInfoMessageEventArgs

System.Data.SqlClient (system.data.dll) sealed class

This class provides data to the event handler for the SqlConnection.InfoMessage event. It provides a collection of warnings or messages in the SqlErrorCollection object as SqlError instances. In addition, the Message property wraps the SqlError.Message property, and the Source property wraps the SqlError.Source property.

 public sealed class  SqlInfoMessageEventArgs  : EventArgs {  // Public Instance Properties  public SqlErrorCollection  Errors  {get; }     public string  Message  {get; }     public string  Source  {get; }  // Public Instance Methods  public override string  ToString  (  );  // overrides object  } 

Hierarchy

System.Object figs/u2192.gif System.EventArgs figs/u2192.gif SqlInfoMessageEventArgs

Passed To

SqlInfoMessageEventHandler.{BeginInvoke( ) , Invoke( )}



ADO. NET in a Nutshell
ADO.NET in a Nutshell
ISBN: 0596003617
EAN: 2147483647
Year: 2005
Pages: 415

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net