Condividi tramite


IDTSBuffer90.GetStatus Method

Retrieves the status information of a column in an IDTSBuffer90.

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

Sintassi

'Dichiarazione
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 non supporta il passaggio di argomenti di tipo valore per riferimento.

Parametri

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

Osservazioni

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.

Piattaforme

Piattaforme di sviluppo

Per un elenco delle piattaforme supportate, vedere Requisiti hardware e software per l'Installazione di SQL Server 2005.

Piattaforme di destinazione

Per un elenco delle piattaforme supportate, vedere Requisiti hardware e software per l'Installazione di SQL Server 2005.

Vedere anche

Riferimento

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