Sdílet prostřednictvím


IDTSBuffer100.GetStatus(Int32, Int32, UInt32) Method

Definition

Retrieves the status information of a column in an IDTSBuffer100.

public:
 void GetStatus(int hRow, int hCol, [Runtime::InteropServices::Out] System::UInt32 % pDBStatus);
public void GetStatus (int hRow, int hCol, out uint pDBStatus);
abstract member GetStatus : int * int * uint32 -> unit
Public Sub GetStatus (hRow As Integer, hCol As Integer, ByRef pDBStatus As UInteger)

Parameters

hRow
Int32

The handle to the row.

hCol
Int32

The handle to the column.

pDBStatus
UInt32

The status value of the column.

Remarks

This method retrieves the OLE DB status information for the specified column. If the IDTSBuffer100 was not created with the BUFF_NOOLEDB flag, the status is either DTPSTATUS_ISNULL or DTPSTATUS_OK. Otherwise, the status stored at the lStatusOffset location in the column is returned. The value is the sum of the values contained in the DTPSTATUSENUM enumeration.

OLE DB may return status values that Integration Services does not recognize and disregards. Custom components should use the GetStatus method only to check for null values.

Applies to