BusinessLogicParameterCollection.IndexOf 方法 (String)

此 API 支持 SQL Server 2012 基础结构,但不能通过代码直接使用。

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

命名空间:  Microsoft.SqlServer.Replication.BusinessLogicSupport
程序集:  Microsoft.SqlServer.Replication.BusinessLogicSupport(在 Microsoft.SqlServer.Replication.BusinessLogicSupport.dll 中)

语法

声明
Public Function IndexOf ( _
    parameterName As String _
) As Integer
用法
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

参数

  • parameterName
    类型:System.String
    The name of the parameter.

返回值

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

实现

IDataParameterCollection.IndexOf(String)

请参阅

参考

BusinessLogicParameterCollection 类

IndexOf 重载

Microsoft.SqlServer.Replication.BusinessLogicSupport 命名空间