ClearAllContext

使用 ClearAllContext 方法可删除 TI 上下文数组中的所有条目。

语法

  
HRESULT ClearAllContext (  

参数

prgContextArray
此 SAFEARRAY 参数包含要清除的 TI 上下文。

返回代码

S_OK
方法调用已成功完成。

E_INVALIDARG
传递的一个或多个参数无效。

E_FAIL
发生内部处理错误。

另请参阅

ClosePersistentConnection
CountContext
DeleteContext
GetConnectionInfo
QueryContextInfo
ReadContext
UpdateContextInfo
WriteContext
持久连接