SetSqlChars Method (Int32, SqlChars, Int32) (ITypedSetters Interface)

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.

Namespace: Microsoft.SqlServer.Server

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


void SetSqlChars (int ordinal, SqlChars 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.

.NET Framework

Supported in: 2.0

Community Additions

ADD
Show: