SetSqlBinary Method (Int32, SqlBinary, Int32) (ITypedSetters Interface)

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Sets the data, for a parameter or column, as the specified type. No conversions are applied. The assembly that contains this class has a friend relationship with SQLAccess.dll.  It is intended for use by SQL Server.  For other databases, use the hosting mechanism provided by that database.

Note

Use the corresponding ITypeSettersV3 method.

Namespace: Microsoft.SqlServer.Server

Assembly: System.Data (in System.Data.dll)

Sub SetSqlBinary(ByVal ordinal As Integer, ByVal value As SqlBinary, ByVal offset As Integer)
void SetSqlBinary (int ordinal, SqlBinary value, int offset);

Parameters

Parameter

Description

ordinal

The zero-based parameter ordinal.

value

The value for the specified parameter.

offset

The index within the parameters value to begin the write operation.

Version Information

.NET Framework

Supported in: 2.0