Cicode Programming Reference > Cicode Function Categories > Trend Functions Introduction > TrnBrowseClose

TrnBrowseClose

The TrnBrowseClose function terminates an active data browse session and cleans up all resources associated with the session.

This function is a non-blocking function. It does not block the calling Cicode task.

TrnBrowseClose(iSession)

iSession

The handle to a browse session previously returned by a TrnBrowseOpen call.

Return Value

0 (zero) if the trend browse session exists, otherwise an error is returned.

Related Functions

TrnBrowseFirst, TrnBrowseGetField, TrnBrowseNext, TrnBrowseNumRecords, TrnBrowseOpen, TrnBrowsePrev

See Also

Trend Functions