Share via


ConnectionManagerItems.Contains Method

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

Namespace:  Microsoft.SqlServer.Dts.Runtime
Assembly:  Microsoft.SqlServer.ManagedDTS (in Microsoft.SqlServer.ManagedDTS.dll)

Syntax

'Declaration
Public Function Contains ( _
    streamName As String _
) As Boolean
'Usage
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

Parameters

Return Value

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

See Also

Reference

ConnectionManagerItems Class

Microsoft.SqlServer.Dts.Runtime Namespace