Metoda PipelineBuffer.GetInt32
Pobiera int w PipelineBuffer kolumna.
Przestrzeń nazw: Microsoft.SqlServer.Dts.Pipeline
Zestaw: Microsoft.SqlServer.PipelineHost (w Microsoft.SqlServer.PipelineHost.dll)
Składnia
'Deklaracja
Public Function GetInt32 ( _
columnIndex As Integer _
) As Integer
'Użycie
Dim instance As PipelineBuffer
Dim columnIndex As Integer
Dim returnValue As Integer
returnValue = instance.GetInt32(columnIndex)
public int GetInt32(
int columnIndex
)
public:
int GetInt32(
int columnIndex
)
member GetInt32 :
columnIndex:int -> int
public function GetInt32(
columnIndex : int
) : int
Parametry
- columnIndex
Typ: System.Int32
Indeks kolumna w PipelineBuffer wiersza.
Wartość zwracana
Typ: System.Int32
Int w PipelineBuffer kolumna.
Uwagi
Metoda ta działa z DT_I4 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.