次の方法で共有


GetInt16 メソッド

指定された型を持つ指定された列のデータを返します。このメンバーをコード内で直接参照しないでください。このメンバーは、SQL Server インフラストラクチャをサポートしています。

名前空間:  Microsoft.SqlServer.Management.Sdk.Sfc
アセンブリ:  Microsoft.SqlServer.Management.Sdk.Sfc (Microsoft.SqlServer.Management.Sdk.Sfc.dll)

構文

'宣言
Public Function GetInt16 ( _
    i As Integer _
) As Short
'使用
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

パラメーター

戻り値

型: System. . :: . .Int16
指定した列の値です。

実装

IDataRecord. . :: . .GetInt16(Int32)