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 值。

適用於