BusinessLogicParameterCollection.IndexOf Method (String)

This API supports the SQL Server 2012 infrastructure and is not intended to be used directly from your code.

Returns the index of the parameter object with the specified name.

Namespace:  Microsoft.SqlServer.Replication.BusinessLogicSupport
Assembly:  Microsoft.SqlServer.Replication.BusinessLogicSupport (in Microsoft.SqlServer.Replication.BusinessLogicSupport.dll)

Syntax

'Declaration
Public Function IndexOf ( _
    parameterName As String _
) As Integer
'Usage
Dim instance As BusinessLogicParameterCollection 
Dim parameterName As String 
Dim returnValue As Integer 

returnValue = instance.IndexOf(parameterName)
public int IndexOf(
    string parameterName
)
public:
virtual int IndexOf(
    String^ parameterName
) sealed
abstract IndexOf : 
        parameterName:string -> int  
override IndexOf : 
        parameterName:string -> int
public final function IndexOf(
    parameterName : String
) : int

Parameters

Return Value

Type: System.Int32
The index of the parameter object with the specified name.

Implements

IDataParameterCollection.IndexOf(String)

See Also

Reference

BusinessLogicParameterCollection Class

IndexOf Overload

Microsoft.SqlServer.Replication.BusinessLogicSupport Namespace