Metoda GetFieldType
Zwraca typ danych kolumna w określonej liczby porządkowej. Nie należy odwoływać się do tego elementu członkowskiego bezpośrednio w kodzie. Obsługuje on infrastrukturę programu SQL Server.
Przestrzeń nazw: Microsoft.SqlServer.Management.Sdk.Sfc
Zestaw: Microsoft.SqlServer.Management.Sdk.Sfc (w Microsoft.SqlServer.Management.Sdk.Sfc.dll)
Syntax
'Deklaracja
Public Function GetFieldType ( _
i As Integer _
) As Type
'Użycie
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
Typ: System. . :: . .Int32
Int32 Wartość określająca kolumna.
Wartość zwracana
Typ: System. . :: . .Type
Typ danych kolumna.