Terminates a given context. The context is identified by its entry number as retrieved by the RqRtCtxs function.
|
Syntax:
|
RqCtxTrm(service/server name, context entry number, supervisor password)
|
Parameters:
|
service/server name: An Alpha variable or constant with a service or server name.
Context entry number: Numeric value indicating the internal number of the context within all contexts queried using RqRtCtxs. The RqRts function must be called first.
supervisor password: An Alpha variable or constant with the password specified in the Broker initialization file.
|
Returns:
|
Boolean indicating success or failure.
|
Example:
|
RqCtxTrm('My Service',14,'MY PASS')
This example terminates the 14th context as retrieved by the RqRtCtxs function.
|
Exception:
|
This function is supported only while using the Broker as a middleware.
|
See also:
|
The Online and Rich Client Samples projects (program ES09 and RES09)
|