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 命名空间