Méthode DataSourceCollection.Find
Gets the DataSource, with the specified identifier, from the collection.
Espace de noms : Microsoft.AnalysisServices
Assembly : Microsoft.AnalysisServices (en Microsoft.AnalysisServices.dll)
Syntaxe
'Déclaration
Public Function Find ( _
id As String _
) As DataSource
'Utilisation
Dim instance As DataSourceCollection
Dim id As String
Dim returnValue As DataSource
returnValue = instance.Find(id)
public DataSource Find(
string id
)
public:
DataSource^ Find(
String^ id
)
member Find :
id:string -> DataSource
public function Find(
id : String
) : DataSource
Paramètres
- id
Type : System.String
The identifier of the DataSource to be returned.
Valeur de retour
Type : Microsoft.AnalysisServices.DataSource
The DataSource if contained in the collection; otherwise, a null reference (Nothing in Visual Basic).