IDTSBuffer100.GetStatus(Int32, Int32, UInt32) 方法

定义

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)

参数

hRow
Int32
hCol
Int32
pDBStatus
UInt32

注解

此方法检索指定列的 OLE DB 状态信息。 如果未用BUFF_NOOLEDB标志创建idtsbuffer100.setsequentialmode ,则状态为DTPSTATUS_ISNULLDTPSTATUS_OK。 否则,将返回列中 lStatusOffset 位置上存储的状态。 该值是 DTPSTATUSENUM 枚举中包含的值的总和。

OLE DB 可能返回 Integration Services 无法识别和不明确的状态值。 自定义组件只应使用 GetStatus 方法来检查是否有 null 值。

适用于