Lưu ý
Cần có ủy quyền mới truy nhập được vào trang này. Bạn có thể thử đăng nhập hoặc thay đổi thư mục.
Cần có ủy quyền mới truy nhập được vào trang này. Bạn có thể thử thay đổi thư mục.
Use the GetConnectionInfo method to query the state of the persistent connection.
Syntax
HRESULT GetConnectionInfo (
Parameters
COMTIContextArray
This SAFEARRAY contains the state of the connection.
pfConnectionIsPersistent
This BOOL parameter is set to TRUE if the connection is persistent and active.
pfConnectionIsViable
This BOOL parameter is set to TRUE if the connection is active.
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
QueryContextInfo
ReadContext
UpdateContextInfo
WriteContext
Persistent Connections