Partager via


PipelineBuffer.GetSingle Method

Gets the float stored in a PipelineBuffer column.

Espace de noms: Microsoft.SqlServer.Dts.Pipeline
Assembly: Microsoft.SqlServer.PipelineHost (in microsoft.sqlserver.pipelinehost.dll)

Syntaxe

'Déclaration
Public Function GetSingle ( _
    columnIndex As Integer _
) As Single
public float GetSingle (
    int columnIndex
)
public:
float GetSingle (
    int columnIndex
)
public float GetSingle (
    int columnIndex
)
public function GetSingle (
    columnIndex : int
) : float

Paramètres

  • columnIndex
    The index of the column in the buffer row.

Valeur de retour

The float contained in the PipelineBuffer column.

Notes

If the value of the column is null, the PipelineBuffer produces a ColumnIsNullException. You can check for null by calling the IsNull method prior to accessing the column data.

Sécurité des threads

Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Plateformes

Plateformes de développement

Pour obtenir la liste des plateformes prises en charge, consultez Configuration matérielle et logicielle requise pour l'installation de SQL Server 2005.

Plateformes cibles

Pour obtenir la liste des plateformes prises en charge, consultez Configuration matérielle et logicielle requise pour l'installation de SQL Server 2005.

Voir aussi

Référence

PipelineBuffer Class
PipelineBuffer Members
Microsoft.SqlServer.Dts.Pipeline Namespace