ILockBytes::SetSize

SetSize changes the size of the byte array.

Syntax

HRESULT SetSize(ULARGE_INTEGER uliSize);

Parameters

Parameter

Description

uliSize [in]

Specifies the new size of the byte array as a number of bytes.

Return Value

Term

Definition

NOERROR

The method succeeded.

E_UNEXPECTED

Rowset is in a "zombied" state.

See Also

Reference

ILockBytes::ReadAt

ILockBytes::Stat

ILockBytes::WriteAt

Other Resources

ILockBytes (SQL Server Compact)