Метод DataProvider.GetFieldType

Returns a data type for the column at the specified ordinal. Не ссылайтесь на этот элемент непосредственно из кода. Он поддерживает работу инфраструктуры SQL Server.

Пространство имен:  Microsoft.SqlServer.Management.Sdk.Sfc
Сборка:  Microsoft.SqlServer.Management.Sdk.Sfc (в Microsoft.SqlServer.Management.Sdk.Sfc.dll)

Синтаксис

'Декларация
Public Function GetFieldType ( _
    i As Integer _
) As Type
'Применение
Dim instance As DataProvider 
Dim i As Integer 
Dim returnValue As Type 

returnValue = instance.GetFieldType(i)
public Type GetFieldType(
    int i
)
public:
virtual Type^ GetFieldType(
    int i
) sealed
abstract GetFieldType : 
        i:int -> Type  
override GetFieldType : 
        i:int -> Type
public final function GetFieldType(
    i : int
) : Type

Параметры

Возвращаемое значение

Тип: System.Type
A data type for the column.

Реализует

IDataRecord.GetFieldType(Int32)

См. также

Справочник

DataProvider Класс

Пространство имен Microsoft.SqlServer.Management.Sdk.Sfc