Metoda TraceReader.GetFieldType
Zwraca pole typ wartości danych w określonej kolumnie pozycji.
Przestrzeń nazw: Microsoft.SqlServer.Management.Trace
Zestaw: Microsoft.SqlServer.ConnectionInfoExtended (w Microsoft.SqlServer.ConnectionInfoExtended.dll)
Składnia
'Deklaracja
Public Function GetFieldType ( _
ordinal As Integer _
) As Type
'Użycie
Dim instance As TraceReader
Dim ordinal As Integer
Dim returnValue As Type
returnValue = instance.GetFieldType(ordinal)
public Type GetFieldType(
int ordinal
)
public:
virtual Type^ GetFieldType(
int ordinal
) sealed
abstract GetFieldType :
ordinal:int -> Type
override GetFieldType :
ordinal:int -> Type
public final function GetFieldType(
ordinal : int
) : Type
Parametry
- ordinal
Typ: System.Int32
Int32 Wartość, która określa położenie kolumna danych.
Wartość zwracana
Typ: System.Type
A Type wartość obiektu systemu, który określa typ pole wartości danych.
Implementacje
Zobacz także