Partager via


IDTSBufferManager90.GetColumnCount Method

Gets the number of columns in a specified registered buffer type.

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

Syntaxe

'Déclaration
<DispIdAttribute(123)> _
Function GetColumnCount ( _
    <InAttribute> hBufferType As Integer _
) As UInteger
[DispIdAttribute(123)] 
uint GetColumnCount (
    [InAttribute] int hBufferType
)
[DispIdAttribute(123)] 
unsigned int GetColumnCount (
    [InAttribute] int hBufferType
)
/** @attribute DispIdAttribute(123) */ 
UInt32 GetColumnCount (
    /** @attribute InAttribute() */ int hBufferType
)
DispIdAttribute(123) 
function GetColumnCount (
    hBufferType : int
) : uint

Paramètres

  • hBufferType
    The ID of the registered buffer.

Valeur de retour

An integer that specifies the number of columns defined for the registered IDTSBuffer90 object.

Notes

The GetColumnCount method returns the number of columns defined for the IDTSBuffer90 object identified by the hBufferType parameter. If the buffer definition specified by hBufferType does not exist, an E_INVALIDARG error occurs.

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

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