Aracılığıyla paylaş


DTSBufferManagerClass.GetColumnCount Yöntemi

Sütun sayısı belirtilen kayıtlı arabellek türü alır.

Ad Alanı:  Microsoft.SqlServer.Dts.Pipeline.Wrapper
Derleme:  Microsoft.SqlServer.DTSPipelineWrap (Microsoft.SqlServer.DTSPipelineWrap içinde.dll)

Sözdizimi

'Bildirim
Public Overridable Function GetColumnCount ( _
    hBufferType As Integer _
) As UInteger
'Kullanım
Dim instance As DTSBufferManagerClass
Dim hBufferType As Integer
Dim returnValue As UInteger

returnValue = instance.GetColumnCount(hBufferType)
public virtual uint GetColumnCount(
    int hBufferType
)
public:
virtual unsigned int GetColumnCount(
    [InAttribute] int hBufferType
)
abstract GetColumnCount : 
        hBufferType:int -> uint32 
override GetColumnCount : 
        hBufferType:int -> uint32 
public function GetColumnCount(
    hBufferType : int
) : uint

Parametreler

  • hBufferType
    Tür: System.Int32
    Kayıtlı arabellek kimliği.

Dönüş Değeri

Tür: System.UInt32
Bir tamsayý kayıtlı için tanımlanan sütun sayısını belirtir IDTSBuffer100 nesne.

Uygulamalar

IDTSBufferManager100.GetColumnCount(Int32)

Açıklamalar

GetColumnCount yöntem için tanımlanan sütunların sayısını verir IDTSBuffer100 nesnesi tarafından tanımlanan hBufferType parametresi.Belirtilen arabellek definition, hBufferType , E_INVALIDARG hata oluşur yok.