ADO Source属性
定義と使用法
Source属性は、最初にエラーが発生したオブジェクトやアプリケーションの名前を示す文字列値を返します。
文法
strErrorSource=objErr.Source
例
<% for each objErr in objConn.Errors response.write("<p>") response.write("説明:") response.write(objErr.Description & "<br />") response.write("ヘルプコンテキスト:") response.write(objErr.HelpContext & "<br />") response.write("ヘルプファイル:") response.write(objErr.HelpFile & "<br />") response.write("Native error: ") response.write(objErr.NativeError & "<br />") response.write("Error number: ") response.write(objErr.Number & "<br />") response.write("Error source: ") response.write(objErr.Source & "<br />") response.write("SQL state: ") response.write(objErr.SQLState & "<br />") response.write("</p>") 次へ %>