Contains 方法 (DataSourceView)
Indicates whether the collection contains a specified DataSourceView.
命名空間: Microsoft.AnalysisServices
組件: Microsoft.AnalysisServices (在 Microsoft.AnalysisServices.dll 中)
語法
'宣告
Public Function Contains ( _
item As DataSourceView _
) As Boolean
'用途
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
參數
- item
型別:Microsoft.AnalysisServices. . :: . .DataSourceView
The DataSourceView to be located.
傳回值
型別:System. . :: . .Boolean
true if the DataSourceView is contained in the collection; otherwise, false.