Condividi tramite


Metodo IDTSBuffer100.GetStatus

Retrieves the status information of a column in an IDTSBuffer100.

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

Sintassi

'Dichiarazione
Sub GetStatus ( _
    hRow As Integer, _
    hCol As Integer, _
    <OutAttribute> ByRef pDBStatus As UInteger _
)
'Utilizzo
Dim instance As IDTSBuffer100 
Dim hRow As Integer 
Dim hCol As Integer 
Dim pDBStatus As UInteger

instance.GetStatus(hRow, hCol, pDBStatus)
void GetStatus(
    int hRow,
    int hCol,
    out uint pDBStatus
)
void GetStatus(
    [InAttribute] int hRow, 
    [InAttribute] int hCol, 
    [OutAttribute] unsigned int% pDBStatus
)
abstract GetStatus : 
        hRow:int * 
        hCol:int * 
        pDBStatus:uint32 byref -> unit
function GetStatus(
    hRow : int, 
    hCol : int, 
    pDBStatus : uint
)

Parametri

Osservazioni

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

Vedere anche

Riferimento

IDTSBuffer100 Interfaccia

Spazio dei nomi Microsoft.SqlServer.Dts.Pipeline.Wrapper