Catalog.IsCached(String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns true if the table is currently cached in-memory. If the table is cached then it
will consume memory. To remove the table from cache use UncacheTable
or ClearCache
public bool IsCached (string tableName);
member this.IsCached : string -> bool
Public Function IsCached (tableName As String) As Boolean
Parameters
- tableName
- String
Is either a qualified or unqualified name that designates a table. If no database identifier is provided, it refers to a table in the current database.
Returns
bool, true if the table is cahced and false if it is not cached