Share via


PackageItems.IndexOf Method

Reports the index of the occurrence of the specified string in this instance.

Namespace:  Microsoft.SqlServer.Dts.Runtime
Assembly:  Microsoft.SqlServer.ManagedDTS (in Microsoft.SqlServer.ManagedDTS.dll)

Syntax

'Declaration
Public Function IndexOf ( _
    streamName As String _
) As Integer
'Usage
Dim instance As PackageItems 
Dim streamName As String 
Dim returnValue As Integer 

returnValue = instance.IndexOf(streamName)
public int IndexOf(
    string streamName
)
public:
int IndexOf(
    String^ streamName
)
member IndexOf : 
        streamName:string -> int
public function IndexOf(
    streamName : String
) : int

Parameters

Return Value

Type: System.Int32
The index of the occurrence of the specified string in this instance.

See Also

Reference

PackageItems Class

Microsoft.SqlServer.Dts.Runtime Namespace