Megosztás a következőn keresztül:


dbc_AfterDeleteConnection Event

Occurs after a connection is deleted.

PROCEDURE dbc_AfterDeleteConnection(cConnectionName) 

-or-

PROCEDURE dbc_AfterConnection
LPARAMETERS cConnectionName

Parameters

  • cConnectionName
    Specifies the name of the connection being deleted.

Remarks

You can use the dbc_AfterDeleteConnection event to track access to the database after a connection is deleted from the database.

Example

* Reports to the screen Event name, where it is called from and ;
* the parameter passed.
PROCEDURE dbc_AfterDeleteConnection ;
          cItemName)
 ? '>>   ' + PROGRAM()
 ?? ' in ' + SUBSTR(SYS(16),RAT('\',SYS(16))+1)
 ? '     cConnectionName    = ' + TRANSFORM(cConnectionName)        + ' - ' ;
                      + TYPE('cConnectionName ')+' /end/ '
ENDPROC

See Also

Enable or Disable DBC Events | dbc_BeforeDeleteConnection Event