Bewerken

Delen via


ReadContext

Use the ReadContext method to acquire the value of an entry in a TI Context array.

Syntax

  
HRESULT ReadContext (  

Parameters

bstrContextEntryName
This string parameter contains the name of the TI Context entry to be retrieved.

pvarContextEntryValue
This VARIANT parameter contains the value of the context entry identified by bstrContextEntryName.

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

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
QueryContextInfo
UpdateContextInfo
WriteContext
Persistent Connections