Метод PackageItems.IndexOf
Reports the index of the occurrence of the specified string in this instance.
Пространство имен: Microsoft.SqlServer.Dts.Runtime
Сборка: Microsoft.SqlServer.ManagedDTS (в Microsoft.SqlServer.ManagedDTS.dll)
Синтаксис
'Декларация
Public Function IndexOf ( _
streamName As String _
) As Integer
'Применение
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
Параметры
- streamName
Тип: System.String
The name of the stream.
Возвращаемое значение
Тип: System.Int32
The index of the occurrence of the specified string in this instance.