Metoda PipelineBuffer.GetUInt64
Pobiera ulong wartości przechowywane kolumna buforu.
Ten interfejs API nie jest zgodny ze specyfikacją CLS.
Przestrzeń nazw: Microsoft.SqlServer.Dts.Pipeline
Zestaw: Microsoft.SqlServer.PipelineHost (w Microsoft.SqlServer.PipelineHost.dll)
Składnia
'Deklaracja
<CLSCompliantAttribute(False)> _
Public Function GetUInt64 ( _
columnIndex As Integer _
) As ULong
'Użycie
Dim instance As PipelineBuffer
Dim columnIndex As Integer
Dim returnValue As ULong
returnValue = instance.GetUInt64(columnIndex)
[CLSCompliantAttribute(false)]
public ulong GetUInt64(
int columnIndex
)
[CLSCompliantAttribute(false)]
public:
unsigned long long GetUInt64(
int columnIndex
)
[<CLSCompliantAttribute(false)>]
member GetUInt64 :
columnIndex:int -> uint64
public function GetUInt64(
columnIndex : int
) : ulong
Parametry
- columnIndex
Typ: System.Int32
Indeks kolumna w wierszu bufora.
Wartość zwracana
Typ: System.UInt64
Ulong wartości przechowywane kolumna buforu.
Uwagi
Metoda ta działa z DT_UI8 Typ danych w Integration Services.
Jeśli kolumna buforu DataType nie jest DT_UI8, PipelineBuffer daje UnsupportedBufferDataTypeException.
Jeśli wartość kolumna jest null, PipelineBuffer daje ColumnIsNullException.Można sprawdzić, czy null przy pierwszym telefonicznej IsNull metoda.
Pełną listę Integration Services typów danych i odpowiadających im uzyskać i ustawić metody PipelineBuffer klasy za pomocą każdego typu, zobacz Praca z typami danych w przepływu danych.