Condividi tramite


DTSBufferManagerClass.GetColumnCount Method

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

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

Sintassi

'Dichiarazione
<DispIdAttribute(123)> _
Public Overridable Function GetColumnCount ( _
    <InAttribute> hBufferType As Integer _
) As UInteger Implements IDTSBufferManager90.GetColumnCount
[DispIdAttribute(123)] 
public virtual uint IDTSBufferManager90.GetColumnCount (
    [InAttribute] int hBufferType
)
[DispIdAttribute(123)] 
public:
virtual unsigned int GetColumnCount (
    [InAttribute] int hBufferType
) = IDTSBufferManager90::GetColumnCount
J# non supporta la dichiarazione di nuove implementazioni di interfacce esplicite ma ne supporta l'utilizzo.
JScript non supporta la dichiarazione di nuove implementazioni di interfacce esplicite ma ne supporta l'utilizzo.

Parametri

  • hBufferType
    The ID of the registered buffer.

Valore restituito

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

Osservazioni

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.

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

DTSBufferManagerClass Class
DTSBufferManagerClass Members
Microsoft.SqlServer.Dts.Pipeline.Wrapper Namespace