Share via


ReportBefore (clsDatabase)

Note

  This feature will be removed in the next version of Microsoft SQL Server. Do not use this feature in new development work, and modify applications that currently use this feature as soon as possible.

This event is called before a processing action for a given Database object (referenced by obj)starts to run.

Applies To:clsDatabase

Syntax

ReportBefore(obj As Object, ByVal Action As Integer,Cancel As Boolean, Skip As Boolean)

Parameters

  • obj
    Refers to the object being processed or the target object of the action.

  • Action
    Refers to the processing action that has been completed.

  • Cancel
    Allows the application to cancel an action by setting this parameter to True.

  • Skip
    Reserved for future use.

Remarks

This event is called before a processing action for a given Database object (referenced by obj)or any of its subordinate major or minor objects starts to run. The action can be determined from the value of Action.

For more information about using this event, see Events.