_leave_state_extfn

The _leave_state_extfn v4 API method is an optional entry point the UDF can implement to receive a notification when the UDF moves out of a query processing state.

Declaration

_leave_state_extfn(
     a_v4_extfn_proc_context *cntxt,
)

Usage

The UDF can use this notification to release memory or resources needed for the state.

Parameters

Parameter Description
cntxt The procedure context object.