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: |
| object | An expression evaluating to an object of type McDataSources. | | pDataCmdByExample | Required. A McDataSourceCommand object. A McDataSourceCommand initialized only with the criteria values. Normally a McDataSourceCommand would be created for this parameter. | | sSort | Optional. A String value. | | bCacheCollection | Optional. A Boolean value. Not used at this time. Instructs the McDataSourceCommands to retain and reuse McDataSourceCommand instances. |
|