ConnectionManagerItems.Contains 方法

Specifies if the connection manager items contains a specified stream name.

命名空間:  Microsoft.SqlServer.Dts.Runtime
組件:  Microsoft.SqlServer.ManagedDTS (在 Microsoft.SqlServer.ManagedDTS.dll 中)

語法

'宣告
Public Function Contains ( _
    streamName As String _
) As Boolean
'用途
Dim instance As ConnectionManagerItems 
Dim streamName As String 
Dim returnValue As Boolean 

returnValue = instance.Contains(streamName)
public bool Contains(
    string streamName
)
public:
bool Contains(
    String^ streamName
)
member Contains : 
        streamName:string -> bool
public function Contains(
    streamName : String
) : boolean

參數

傳回值

型別:System.Boolean
True if the connection manager items contains a specified stream name; otherwise, false.

請參閱

參考

ConnectionManagerItems 類別

Microsoft.SqlServer.Dts.Runtime 命名空間