Remarque
L’accès à cette page nécessite une autorisation. Vous pouvez essayer de vous connecter ou de modifier des répertoires.
L’accès à cette page nécessite une autorisation. Vous pouvez essayer de modifier des répertoires.
Gets the array of bytes stored in a buffer column. This method is not CLS-compliant.
Espace de noms: Microsoft.SqlServer.Dts.Pipeline
Assembly: Microsoft.SqlServer.PipelineHost (in microsoft.sqlserver.pipelinehost.dll)
Syntaxe
'Déclaration
<CLSCompliantAttribute(False)> _
Public Function GetBytes ( _
columnIndex As Integer _
) As Byte()
[CLSCompliantAttribute(false)]
public byte[] GetBytes (
int columnIndex
)
[CLSCompliantAttribute(false)]
public:
array<unsigned char>^ GetBytes (
int columnIndex
)
/** @attribute CLSCompliantAttribute(false) */
public byte[] GetBytes (
int columnIndex
)
CLSCompliantAttribute(false)
public function GetBytes (
columnIndex : int
) : byte[]
Paramètres
- columnIndex
The index of the column.
Valeur de retour
The array of bytes stored in the buffer column.
Notes
The GetBytes method retrieves the array of bytes from the buffer column. If the value column is null, the PipelineBuffer produces a ColumnIsNullException. Check for null by calling the IsNull method. If you need only a subset of bytes from the column, use the GetBlobData method.
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