Dela via


DataSourceViewCollection.Contains Method (DataSourceView)

Indicates whether the collection contains a specified DataSourceView.

Namespace:  Microsoft.AnalysisServices
Assembly:  Microsoft.AnalysisServices (in Microsoft.AnalysisServices.dll)

Syntax

'Declaration
Public Function Contains ( _
    item As DataSourceView _
) As Boolean
'Usage
Dim instance As DataSourceViewCollection
Dim item As DataSourceView
Dim returnValue As Boolean

returnValue = instance.Contains(item)
public bool Contains(
    DataSourceView item
)
public:
bool Contains(
    DataSourceView^ item
)
member Contains : 
        item:DataSourceView -> bool 
public function Contains(
    item : DataSourceView
) : boolean

Parameters

Return Value

Type: System.Boolean
true if the DataSourceView is contained in the collection; otherwise, false.