Cicode Programming Reference > Cicode Function Categories > Tag Functions > TagBrowseClose

TagBrowseClose

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

This function is a blocking function. It blocks the calling Cicode task until the operation is complete.

Syntax

INT TagBrowseClose(LONG Session)

Session:

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

Return Value

0 if successful -1 if unsuccessful.

Related Functions

TagInfoEx, TagInfo, TagBrowseFirst, TagBrowsePrev, TagBrowseNumRecords, TagBrowseOpen, TagBrowseNext,TegBrowseGetField

Example

// close
TBResult = TagBrowseClose(TBHandle);
End

See Also

Tag Functions

Published June 2018