dotConnect for DB2 Documentation
Devart.Data.DB2.DB2Types Namespace / DB2Xml Structure / CacheData Property

In This Topic
    CacheData Property (DB2Xml)
    In This Topic
    Indicates if the data stored in the DB2Xml instance is to be cached.
    Syntax
    'Declaration
     
    Public ReadOnly Property CacheData As Boolean
    public bool CacheData {get;}

    Property Value

    true, if the DB2Xml instance is to be cached; otherwise, false.
    Remarks

    The value of CacheData is inherited from the object that created the DB2Xml instance (for example, a Devart.Data.DB2.DB2DataReader instance).

    This property needs to be set before the first retrieval of data from this object, or the data will not be cached.

    Requirements

    Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also