This documentation is archived and is not being maintained.

IRowset.ReleaseRows Method

Releases rows.

Namespace: Microsoft.VisualBasic.Compatibility.VB6
Assembly: Microsoft.VisualBasic.Compatibility.Data (in

int ReleaseRows (
	[InAttribute] int cRows,
	[InAttribute] int[] hRows,
	[InAttribute] IntPtr rowOptions,
	[InAttribute] IntPtr rowRefCounts,
	[InAttribute] IntPtr rgRowStatus
int ReleaseRows (
	/** @attribute InAttribute() */ int cRows, 
	/** @attribute InAttribute() */ int[] hRows, 
	/** @attribute InAttribute() */ IntPtr rowOptions, 
	/** @attribute InAttribute() */ IntPtr rowRefCounts, 
	/** @attribute InAttribute() */ IntPtr rgRowStatus
function ReleaseRows (
	cRows : int, 
	hRows : int[], 
	rowOptions : IntPtr, 
	rowRefCounts : IntPtr, 
	rgRowStatus : IntPtr
) : int
Not applicable.



The number of rows to release.


An array of handles of the rows to be released. The row handles do not need to form a logical cluster; they may have been obtained at separate times and need not be for contiguous underlying rows. Row handles are decremented by one reference count for each time they appear in the array.


An array of cRows elements containing bitmasks indicating additional options to be specified when a row is released.


An array with cRows elements in which to return the new reference count of each row.


An array with cRows elements in which to return values indicating the status of each row specified in hRows.

Return Value

An Integer representing the result.

Windows 98, Windows Server 2000 SP4, Windows CE, Windows Millennium Edition, Windows Mobile for Pocket PC, Windows Mobile for Smartphone, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0