Contains méthode (DataSource)
Indicates whether the collection contains a specified DataSource.
Espace de noms : Microsoft.AnalysisServices
Assembly : Microsoft.AnalysisServices (dans Microsoft.AnalysisServices.dll)
Syntaxe
'Déclaration
Public Function Contains ( _
item As DataSource _
) As Boolean
'Utilisation
Dim instance As DataSourceCollection
Dim item As DataSource
Dim returnValue As Boolean
returnValue = instance.Contains(item)
public bool Contains(
DataSource item
)
public:
bool Contains(
DataSource^ item
)
member Contains :
item:DataSource -> bool
public function Contains(
item : DataSource
) : boolean
Paramètres
- item
Type : Microsoft.AnalysisServices. . :: . .DataSource
The DataSource to be located.
Valeur de retour
Type : System. . :: . .Boolean
true if the DataSource is contained in the collection; otherwise, false.