Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Gets the index of the parameter with the specified name in the parameter collection.
Namespace: Microsoft.SqlServer.Dts.Runtime
Assembly: Microsoft.SqlServer.ManagedDTS (in Microsoft.SqlServer.ManagedDTS.dll)
Syntax
'Declaration
Public Function IndexOf ( _
parameterName As String _
) As Integer
'Usage
Dim instance As ParameterInfos
Dim parameterName As String
Dim returnValue As Integer
returnValue = instance.IndexOf(parameterName)
public int IndexOf(
string parameterName
)
public:
int IndexOf(
String^ parameterName
)
member IndexOf :
parameterName:string -> int
public function IndexOf(
parameterName : String
) : int
Parameters
- parameterName
Type: System.String
The name of the parameter.
Return Value
Type: System.Int32
The index of the parameter with the specified name if found in the parameter collection; otherwise, -1.