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.