Metodo DataProvider.GetFieldType

Returns a data type for the column at the specified ordinal. Non fare riferimento direttamente a questo membro nel codice. Supporta l'infrastruttura di SQL Server.

Spazio dei nomi  Microsoft.SqlServer.Management.Sdk.Sfc
Assembly:  Microsoft.SqlServer.Management.Sdk.Sfc (in Microsoft.SqlServer.Management.Sdk.Sfc.dll)

Sintassi

'Dichiarazione
Public Function GetFieldType ( _
    i As Integer _
) As Type
'Utilizzo
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

Parametri

Valore restituito

Tipo: System.Type
A data type for the column.

Implementa

IDataRecord.GetFieldType(Int32)

Vedere anche

Riferimento

DataProvider Classe

Spazio dei nomi Microsoft.SqlServer.Management.Sdk.Sfc