Description

Returns a collection of McDataSourceCommand instances from a query on the Commands property.

Return Type

A McDataSourceCommands object.   A new collection containing the Commands optionally sorted and filtered.

Failure Returns Nothing.

Failure conditions:
* Parameters did not identify a McDataSourceCommand in the collection.

Syntax

object.FindCommandsByQuery ([sFilterCriteria], [sSortOrder], [bCacheCollection])

The FindCommandsByQuery Method syntax has these parts:

PartDescription
objectAn expression evaluating to an object of type McDataSources.
sFilterCriteriaOptional. A String value. An ADO style filter string that sets the criteria for the results.
sSortOrderOptional. A String value. An ADO style sort string that specifies the sort fields delimited with ','. Each field may use 'DESC' to reverse the sort order.
bCacheCollectionOptional. A Boolean value. Not used at this time. Instructs the McDataSourceCommands to retain and reuse McDataSourceCommand instances.