Condividi tramite


IMetadataStruct.IsCached Property

Determines whether the metadata object is cached in memory.

Namespace:  Microsoft.BusinessData.MetadataModel
Assembly:  Microsoft.BusinessData (in Microsoft.BusinessData.dll)

Syntax

'Declaration
ReadOnly Property IsCached As Boolean
    Get
'Usage
Dim instance As IMetadataStruct
Dim value As Boolean

value = instance.IsCached
bool IsCached { get; }

Property Value

Type: System.Boolean
true if the metadata object cached in memory; otherwise, false.

Remarks

If the metadata object is cached, BDC will store the metadata object in memory, returning a cached copy when it is requested. This will improve performance; however the changes on the metadata store may not be immediately observed. If the metadata object is not cached, BDC will retrieve the object from metadata store every time it is requested. This will cause changes in the metadata store to be immediately observable, however, retrieving the metadata object will be more costly.

See Also

Reference

IMetadataStruct Interface

IMetadataStruct Members

Microsoft.BusinessData.MetadataModel Namespace