Condividi tramite


Metodo IDTSBuffer100.GetColumnCount

Gets the number of columns in an IDTSBuffer100.

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

Sintassi

'Dichiarazione
Function GetColumnCount As UInteger
'Utilizzo
Dim instance As IDTSBuffer100 
Dim returnValue As UInteger 

returnValue = instance.GetColumnCount()
uint GetColumnCount()
unsigned int GetColumnCount()
abstract GetColumnCount : unit -> uint32
function GetColumnCount() : uint

Valore restituito

Tipo: System.UInt32
An unsigned integer that contains the number of columns in the IDTSBuffer100.

Osservazioni

This method returns the number of columns contained in the IDTSBuffer100. If the buffer was created using the CreateFlatBuffer method, the method fails and a DTS_E_BUFFERISFLAT exception is thrown.

Vedere anche

Riferimento

IDTSBuffer100 Interfaccia

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