BusinessLogicDataReader.GetOrdinal Method
This API supports the SQL Server 2012 infrastructure and is not intended to be used directly from your code.
Gets the column ordinal given the name of the column.
Namespace: Microsoft.SqlServer.Replication.BusinessLogicSupport
Assembly: Microsoft.SqlServer.Replication.BusinessLogicSupport (in Microsoft.SqlServer.Replication.BusinessLogicSupport.dll)
Syntax
'Declaration
Public Function GetOrdinal ( _
name As String _
) As Integer
'Usage
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
Parameters
- name
Type: System.String
The name of the column.
Return Value
Type: System.Int32
The zero-based column ordinal.
Implements
IDataRecord.GetOrdinal(String)
See Also
Reference
Microsoft.SqlServer.Replication.BusinessLogicSupport Namespace