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 狀態資訊。 如果 IDTSBuffer100 沒有用 BUFF_NOOLEDB 標誌建立,狀態就是 DTPSTATUS_ISNULL 或 DTPSTATUS_OK。 否則,會回傳欄位中 lStatusOffset 位置的狀態。 該值為 DTPSTATUSENUM 列舉中所有值的總和。

OLE DB 可能會回傳整合服務未識別或忽略的狀態值。 自訂元件應該只用 GetStatus 方法檢查空值。

適用於