Query.dataSourceCount Method

Definition

Returns the total number of data sources for the query, including any embedded data sources.

public:
 virtual int dataSourceCount();
public virtual int dataSourceCount ();
abstract member dataSourceCount : unit -> int
override this.dataSourceCount : unit -> int
Public Overridable Function dataSourceCount () As Integer

Returns

The number of data sources for this query.

Remarks

The number is the transitive number of data sources and includes any embedded data sources.

Applies to