MGDatabaseSetup.setDataSource   Go to object model Go to parent topic Go to previous topic Go to next topic

Syntax

boolean setDataSource(String dataSource)

Description

Sets the name of the OLE DB data source from which Autodesk MapGuide Server retrieves its data.

Parameters

dataSource - The name of the OLE DB data source.

Returns

boolean - Returns True if successful; otherwise, returns False. If successful, sets the layer's rebuild flag to True.

Error Codes

-1 (busy)

See Also

getDataSource, DataSource