IDTSBuffer90.GetStatus Method

Retrieves the status information of a column in an IDTSBuffer90.

命名空間: Microsoft.SqlServer.Dts.Pipeline.Wrapper
組件: Microsoft.SqlServer.DTSPipelineWrap (in microsoft.sqlserver.dtspipelinewrap.dll)

語法

'宣告
Sub GetStatus ( _
    <InAttribute> hRow As Integer, _
    <InAttribute> hCol As Integer, _
    <OutAttribute> ByRef pDBStatus As UInteger _
)
void GetStatus (
    [InAttribute] int hRow,
    [InAttribute] int hCol,
    out uint pDBStatus
)
void GetStatus (
    [InAttribute] int hRow, 
    [InAttribute] int hCol, 
    [OutAttribute] unsigned int% pDBStatus
)
void GetStatus (
    /** @attribute InAttribute() */ int hRow, 
    /** @attribute InAttribute() */ int hCol, 
    /** @attribute OutAttribute() */ /** @ref */ UInt32 pDBStatus
)
JScript 不支援以傳址方式傳遞值類型的引數。

參數

  • hRow
    The handle to the row.
  • hCol
    The handle to the column.
  • pDBStatus
    The status value of the column.

備註

This method retrieves the OLE DB status information for the specified column. If the IDTSBuffer90 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.

執行緒安全性

Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

平台

開發平台

如需受支援的平台清單,請參閱<安裝 SQL Server 2005 的硬體和軟體需求>。

目標平台

如需受支援的平台清單,請參閱<安裝 SQL Server 2005 的硬體和軟體需求>。

請參閱

參考

IDTSBuffer90 Interface
IDTSBuffer90 Members
Microsoft.SqlServer.Dts.Pipeline.Wrapper Namespace