Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

GetInt16 Method (Int32) (ITypedGetters)

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

Gets 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.  This class 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)

abstract Int16 GetInt16 (int ordinal);

Parameter

Description

ordinal

The zero-based column or parameter ordinal.

Returns the value in the specified column as an Int16.

.NET Framework

Supported in: 2.0

Show:
© 2015 Microsoft