Método PackageItems.IndexOf
Reports the index of the occurrence of the specified string in this instance.
Namespace: Microsoft.SqlServer.Dts.Runtime
Assembly: Microsoft.SqlServer.ManagedDTS (em Microsoft.SqlServer.ManagedDTS.dll)
Sintaxe
'Declaração
Public Function IndexOf ( _
streamName As String _
) As Integer
'Uso
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
Parâmetros
- streamName
Tipo: System.String
The name of the stream.
Valor de retorno
Tipo: System.Int32
The index of the occurrence of the specified string in this instance.