smc_drop_filter

Description

Removes a filter on a data item.

Syntax

SMC_RETURN_CODE smc_drop_filter
 (SMC_CONNECT_ID      clientId,
  SMC_VIEW_ID         viewId,
  SMC_FILTER_ID       filterId)

Parameters

clientId

identifies the connection.

viewId

identifies a view created on the connection.

filterId

identifies the filter to be dropped.

Returns

Return value

Indicates

SMC_RET_SUCCESS

Function succeeded.

SMC_RET_FAILURE

Function failed.

SMC_RET_INVALID_CONNECT

Connection does not exist.

Examples

Example 1

The following example assumes that:

Usage


Valid server modes

Mode

Availability

SMC_SERVER_M_LIVE

Yes

SMC_SERVER_M_HISTORICAL

No


Errors

Error

Indicates

SMC_RET_INVALID_VIEWID

View does not exist.

SMC_RET_INVALID_FILTERID

Filter does not exist.

See also

smc_create_filter, smc_drop_view