Bewerken

Delen via


ClosePersistentConnection

Use the ClosePersistentConnection method to close the persistent connection by contacting the COM+ or .NET Framework application object without the need for a call to the server object.

Syntax

  
HRESULT ClosePersistentConnection (  

Parameters

COMTIContextArray
This SAFEARRAY contains the state of the connection.

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