Condividi tramite


DataSourceCollection.Find(String) Method

Definition

Gets the DataSource that has the specified identifier from the collection.

public Microsoft.AnalysisServices.DataSource Find (string id);
member this.Find : string -> Microsoft.AnalysisServices.DataSource
Public Function Find (id As String) As DataSource

Parameters

id
String

The identifier of the DataSource to locate.

Returns

The DataSource with the specified identifier, if it exists in the collection; otherwise, a null reference (Nothing in Visual Basic).

Applies to