<完成错误对象参考
HelpFile属性返回包含在Microsoft Windows帮助系统帮助文件的完整路径的字符串。
此属性允许您使用Windows的帮助系统进行交互,即你可以调用Windows API函数的帮助。
帮助文件属性返回""如果你没有获得与Windows的帮助系统进行交互。
句法
strErrorFile=objErr.HelpFile
例
<%
for each objErr in objConn.Errors
response.write("<p>")
response.write("Description: ")
response.write(objErr.Description & "<br>")
response.write("Help context: ")
response.write(objErr.HelpContext & "<br>")
response.write("Help file: ")
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>")
next
%>
<完成错误对象参考