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.