Description

Creates a McDataSource for a Data Object Programmatic Identifier (ProgID).

Return Type

A McDataSource object.   A new McDataSource reference by this object's collection.
Failure Returns Nothing.

Failure conditions:

Syntax

object.Create ([sProgIDOrModuleName], [pSourceHandler])

The Create Method syntax has these parts:

PartDescription
objectAn expression evaluating to an object of type McDataSources.
sProgIDOrModuleNameOptional. A String value. ProgID of the SourceHandler when the DataSource should be persistent.
pSourceHandlerOptional. A McDataHandler object. : Reference to the SourceHandler when the DataSource should NOT be persistent.