Udostępnij za pośrednictwem


Metoda PipelineBuffer.GetInt64

Pobiera długi w PipelineBuffer kolumna.

Przestrzeń nazw:  Microsoft.SqlServer.Dts.Pipeline
Zestaw:  Microsoft.SqlServer.PipelineHost (w Microsoft.SqlServer.PipelineHost.dll)

Składnia

'Deklaracja
Public Function GetInt64 ( _
    columnIndex As Integer _
) As Long
'Użycie
Dim instance As PipelineBuffer
Dim columnIndex As Integer
Dim returnValue As Long

returnValue = instance.GetInt64(columnIndex)
public long GetInt64(
    int columnIndex
)
public:
long long GetInt64(
    int columnIndex
)
member GetInt64 : 
        columnIndex:int -> int64 
public function GetInt64(
    columnIndex : int
) : long

Parametry

  • columnIndex
    Typ: System.Int32
    Indeks kolumna w wierszu bufora.

Wartość zwracana

Typ: System.Int64
Długi w PipelineBuffer kolumna.

Uwagi

Metoda ta działa z DT_I8 Typ danych w Integration Services.

Jeśli wartość kolumna jest null, PipelineBuffer daje ColumnIsNullException.Można sprawdzić, czy wartość null, wywołując 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.