ReportBefore (clsDatabase)

ms134801.note(zh-cn,SQL.90).gif注意:
  下一版本的 Microsoft SQL Server 将删除该功能。请不要在新的开发工作中使用该功能,并尽快修改当前还在使用该功能的应用程序。

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

Applies To:clsDatabase

语法

ReportBefore(obj As Object, ByVal Action As Integer,Cancel As Boolean, Skip 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.
  • Cancel
    Allows the application to cancel an action by setting this parameter to True.
  • Skip
    Reserved for future use.

备注

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.