Bewerken

Delen via


QueryContextInfo

Use the QueryContextInfo method to acquire a count of the entries in a TI Context array, the names of the context entries, and the data types of the context entries.

Syntax

  
HRESULT QueryContextInfo (  

Parameters

prgContextArray
This SAFEARRAY parameter contains the 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 entries in the specified TI Context array.

prgContextNameArray
This SAFEARRAY of strings parameter contains the TI Context entry names.

prgContextTypeArray
This SAFEARRAY of integers parameter contains the TI Context entry data types.

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
CountContext
DeleteContext
GetConnectionInfo
ReadContext
UpdateContextInfo
WriteContext
Persistent Connections