GetOrdinal 메서드

Gets the ordinal value of the data value at the specified column position.

네임스페이스:  Microsoft.SqlServer.Management.Trace
어셈블리:  Microsoft.SqlServer.ConnectionInfoExtended.dll의 Microsoft.SqlServer.ConnectionInfoExtended

구문

‘선언
Public Function GetOrdinal ( _
    name As String _
) As Integer
‘사용 방법
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

매개 변수

반환 값

형식: System. . :: . .Int32
An Int32 value that specifies the ordinal value at the specified column position.

구현

IDataRecord. . :: . .GetOrdinal(String)

예제

Readme_Tracer