Description

Returns a collection of McDataSourceCommand instances from a template McDataSourceCommands instance.

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.FindCommandsByExample (pDataCmdByExample, [sSort], [bCacheCollection])

The FindCommandsByExample Method syntax has these parts:

PartDescription
objectAn expression evaluating to an object of type McDataSources.
pDataCmdByExampleRequired. A McDataSourceCommand object. A McDataSourceCommand initialized only with the criteria values. Normally a McDataSourceCommand would be created for this parameter.
sSortOptional. A String value.
bCacheCollectionOptional. A Boolean value. Not used at this time. Instructs the McDataSourceCommands to retain and reuse McDataSourceCommand instances.