Partager via


Méthode GetInt16

Returns data for the specified column with the given type. Ne référencez pas directement ce membre dans votre code. Il prend en charge l'infrastructure SQL Server.

Espace de noms :  Microsoft.SqlServer.Management.Sdk.Sfc
Assembly :  Microsoft.SqlServer.Management.Sdk.Sfc (en Microsoft.SqlServer.Management.Sdk.Sfc.dll)

Syntaxe

'Déclaration
Public Function GetInt16 ( _
    i As Integer _
) As Short
'Utilisation
Dim instance As DataProvider
Dim i As Integer
Dim returnValue As Short

returnValue = instance.GetInt16(i)
public short GetInt16(
    int i
)
public:
virtual short GetInt16(
    int i
) sealed
abstract GetInt16 : 
        i:int -> int16 
override GetInt16 : 
        i:int -> int16 
public final function GetInt16(
    i : int
) : short

Paramètres

Valeur de retour

Type : System. . :: . .Int16
The value of the specified column.

Implémente

IDataRecord. . :: . .GetInt16(Int32)