BusinessLogicDataReader.GetOrdinal 方法
此 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)