PdceMeasureUnSubscribe Function

Action

This function removes a registered measure from a client. The client stops collecting data for the removed measure. This can also be done in the TEnd transaction before un-registering the client.

Include file

Pdce.bdh

Syntax

PdceMeasureUnSubscribe( in hMeasure : number ) : boolean;

Return value

  • true if successful

  • false otherwise

Parameter Description
hMeasure Specifies the measure's handle, from the PdceMeasureSubscribe or PdceAddMeasure function.

Example

dcltrans
  transaction TEnd
  begin
    // every measure has to be unsubscribed;
    PdceMeasureUnSubscribe(pMeasure[1]);
    PdceClientUnRegister(pClient);
    PdceCleanup();
  end TEnd;