ParameterInfos.IndexOf Method (String)

 

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)

public int IndexOf(
	string parameterName
)

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.

Return to top
Show: