Partager via


IDTSBuffer90.GetStatus Method

Retrieves the status information of a column in an IDTSBuffer90.

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

Syntaxe

'Déclaration
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 ne prend pas en charge le passage d'arguments de type valeur par référence.

Paramètres

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

Notes

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.

Sécurité des threads

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.

Plateformes

Plateformes de développement

Pour obtenir la liste des plateformes prises en charge, consultez Configuration matérielle et logicielle requise pour l'installation de SQL Server 2005.

Plateformes cibles

Pour obtenir la liste des plateformes prises en charge, consultez Configuration matérielle et logicielle requise pour l'installation de SQL Server 2005.

Voir aussi

Référence

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