CountContext

Use the CountContext method to acquire a count of the entries in a TI Context array.

Syntax

  
HRESULT CountContext (  

Parameters

prgContextArray
This SAFEARRAY parameter contains TI Context entries that are passed to and returned from COM+ objects.

pulContextEntriesCount
Upon successful completion of the call, this integer parameter contains a count of the number of entries in the specified TI Context array.

Return Codes

S_OK
The method call completed successfully.

E_INVALIDARG
One or more of the parameters passed are invalid.

E_FAIL
An internal processing error occurred.

See Also

ClearAllContext
ClosePersistentConnection
DeleteContext
GetConnectionInfo
QueryContextInfo
ReadContext
UpdateContextInfo
WriteContext
Persistent Connections