エラーを生成したオブジェクトの名前を取得します。
Public ReadOnly Property Source As String
[C#]
public string Source {get;}
[C++]
public: __property String* get_Source();
[JScript]
public function get Source() : String;
プロパティ値
エラーを生成したオブジェクトの名前。
解説
これは、 Errors コレクション内にある最初の SqlError の Source プロパティのラッパーです。
必要条件
プラットフォーム: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 ファミリ, .NET Compact Framework - Windows CE .NET
参照
SqlInfoMessageEventArgs クラス | SqlInfoMessageEventArgs メンバ | System.Data.SqlClient 名前空間