Share via


Catalog.IsCached(String) Method

Definition

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

Applies to