Edit

Share via


IRowset.ReleaseRows(Int32, Int32[], IntPtr, IntPtr, IntPtr) Method

Definition

Releases rows.

public:
 int ReleaseRows(int cRows, cli::array <int> ^ hRows, IntPtr rowOptions, IntPtr rowRefCounts, IntPtr rgRowStatus);
public int ReleaseRows (int cRows, int[] hRows, IntPtr rowOptions, IntPtr rowRefCounts, IntPtr rgRowStatus);
abstract member ReleaseRows : int * int[] * nativeint * nativeint * nativeint -> int
Public Function ReleaseRows (cRows As Integer, hRows As Integer(), rowOptions As IntPtr, rowRefCounts As IntPtr, rgRowStatus As IntPtr) As Integer

Parameters

cRows
Int32

The number of rows to release.

hRows
Int32[]

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.

rowOptions
IntPtr

nativeint

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

rowRefCounts
IntPtr

nativeint

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

rgRowStatus
IntPtr

nativeint

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

Returns

An Integer representing the result.

Remarks

Note

Functions and objects in the Microsoft.VisualBasic.Compatibility.VB6 namespace are provided for use by the tools for upgrading from Visual Basic 6.0 to Visual Basic 2008. In most cases, these functions and objects duplicate functionality that you can find in other namespaces in the .NET Framework. They are necessary only when the Visual Basic 6.0 code model differs significantly from the .NET Framework implementation.

Applies to