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