Méthode GetOrdinal
Gets the ordinal value of the data value at the specified column position.
Espace de noms : Microsoft.SqlServer.Management.Trace
Assembly : Microsoft.SqlServer.ConnectionInfoExtended (en Microsoft.SqlServer.ConnectionInfoExtended.dll)
Syntaxe
'Déclaration
Public Function GetOrdinal ( _
name As String _
) As Integer
'Utilisation
Dim instance As TraceReader
Dim name As String
Dim returnValue As Integer
returnValue = instance.GetOrdinal(name)
public int GetOrdinal(
string name
)
public:
virtual int GetOrdinal(
String^ name
) sealed
abstract GetOrdinal :
name:string -> int
override GetOrdinal :
name:string -> int
public final function GetOrdinal(
name : String
) : int
Paramètres
- name
Type : System. . :: . .String
An Int32 value that specifies the column position of the data.
Valeur de retour
Type : System. . :: . .Int32
An Int32 value that specifies the ordinal value at the specified column position.
Implémente
Voir aussi