Share via


IDTSBuffer90.GetStatus Method

Retrieves the status information of a column in an IDTSBuffer90.

Namespace: Microsoft.SqlServer.Dts.Pipeline.Wrapper
Assembly: Microsoft.SqlServer.DTSPipelineWrap (in microsoft.sqlserver.dtspipelinewrap.dll)

Syntax

'Declaration
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 does not support passing value-type arguments by reference.

Parameters

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

Remarks

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.

Thread Safety

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.

Platforms

Development Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.

Target Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.

See Also

Reference

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