この API は、SQL Server 2012 インフラストラクチャをサポートします。独自に作成したコードから直接使用するためのものではありません。
Gets the column ordinal given the name of the column.
名前空間: Microsoft.SqlServer.Replication.BusinessLogicSupport
アセンブリ: Microsoft.SqlServer.Replication.BusinessLogicSupport (Microsoft.SqlServer.Replication.BusinessLogicSupport.dll)
構文
'宣言
Public Function GetOrdinal ( _
name As String _
) As Integer
'使用
Dim instance As BusinessLogicDataReader
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
パラメーター
- name
型: System.String
The name of the column.
戻り値
型: System.Int32
The zero-based column ordinal.
実装
IDataRecord.GetOrdinal(String)