DB2 Version 9.7 for Linux, UNIX, and Windows

DB2Connection.ClearUSRLIBLCache Method

Clears the current *USRLIBL cache for connection to DB2® for i

Namespace:
IBM®.Data.DB2
Assembly:
IBM.Data.DB2 (in IBM.Data.DB2.dll)

Syntax

[Visual Basic]
Public Sub ClearUSRLIBLCache()
[C#]
public void ClearUSRLIBLCache();
[C++]
public: void ClearUSRLIBLCache();
[JScript]
public function ClearUSRLIBLCache();

Remarks

In DB2 Version 9.7 Fix Pack 6 and later, the ClearUSRLIBLCache method is available for connections to DB2 for i V6R1 and later. The ClearUSRLIBLCache clears current *USRLIBL cache but the cache is populated again the next time the *USRLIBL value is required unless caching is turned off. The *USRLIBL caching can be turned off using the CacheUSRLIBLValue method.