Share via


ILockBytes (SQL Server Compact Edition)

ILockBytes is a structured storage interface used for accessing long text and long binary data.

Method Description

ReadAt

Reads a specified number of bytes starting at a specified offset from the beginning of the byte array.

WriteAt

Writes a specified number of bytes to a specified location in the byte array.

Flush

Ensures that any internal buffers maintained by the byte array object are written out to the backing storage. Not supported in SQL Server 2005 Compact Edition (SQL Server Compact Edition).

SetSize

Changes the size of the byte array.

LockRegion

Restricts access to a specified range of bytes in the byte array. Not supported in SQL Server Compact Edition.

UnlockRegion

Removes the access restriction on a range of bytes previously restricted with ILockBytes::LockRegion. Not supported in SQL Server Compact Edition.

Stat

Retrieves a STATSTG structure for this byte array object.

See Also

Reference

ILockBytes::ReadAt
ILockBytes::SetSize
ILockBytes::Stat
ILockBytes::WriteAt

Help and Information

Getting SQL Server Compact Edition Assistance