다음을 통해 공유


ReportError (clsDatabase)

[!참고]   이 기능은 다음 버전의 Microsoft SQL Server에서 제거됩니다. 새 개발 작업에서는 이 기능을 사용하지 말고, 현재 이 기능을 사용하는 응용 프로그램은 가능한 한 빨리 수정하십시오.

This event is called whenever a processing error occurs.

Applies To:clsDatabase

구문

ReportError(obj As Object, ByVal Action As Integer, ByVal ErrorCode As Long, ByVal Message As String, Cancel As Boolean)

매개 변수

  • obj
    Refers to the object being processed or the target object of the action.
  • Action
    Refers to the processing action that has been completed.
  • ErrorCode
    A value in the ErrorCodes enumeration.
  • Message
    A user friendly message describing the error.
  • Cancel
    Allows the application to cancel an action by setting this parameter to True.

주의

This event is called whenever an error occurs during processing.

For more information about using this event, see Events.