DataProvider.GetFieldType Method
Returns a data type for the column at the specified ordinal. Do not reference this member directly in your code. It supports the SQL Server infrastructure.
Namespace: Microsoft.SqlServer.Management.Sdk.Sfc
Assembly: Microsoft.SqlServer.Management.Sdk.Sfc (in Microsoft.SqlServer.Management.Sdk.Sfc.dll)
Syntax
'Declaration
Public Function GetFieldType ( _
i As Integer _
) As Type
'Usage
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
Parameters
- i
Type: System.Int32
An Int32 value that specifies a column.
Return Value
Type: System.Type
A data type for the column.
Implements
IDataRecord.GetFieldType(Int32)