ADO Source Attribute

Pagsasakop at paggamit

Ang Source attribute ay maaaring ibalik ang isang string value na nagtutukoy sa pangalan ng bagay o application na orihinal na nagbigay ng error.

Mga pangungusap

strErrorSource=objErr.Source

Mga halimbawa

<%
for each objErr in objConn.Errors
  response.write("<p>")
  response.write("Paglalarawan:")
  response.write(objErr.Description & "<br />")
  response.write("Konteksto ng tulong:")
  response.write(objErr.HelpContext & "<br />")
  response.write("Mga tulay ng tulong:")
  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
%>