共用方式為


dbc_AfterRenameView Event

Occurs before a view is renamed.

PROCEDURE dbc_AfterRenameView(cPreviousName, cNewName)

-or-

PROCEDURE dbc_AfterRenameView
LPARAMETERS cPreviousName, cNewName

Parameters

  • cPreviousName
    Specifies the current name of the view.
  • cNewName
    Specifies the new name of the view.

Remarks

You can use the dbc_AfterRenameView event to track changes to the database when views are renamed.

See Also

Enable or Disable DBC Events | dbc_BeforeRenameView Event