MGDwgDataSources.DataSource   Go to object model Go to parent topic Go to previous topic Go to next topic

Description

Gets or sets the DWG data source name that establishes a connection between Autodesk MapGuide Server and the data provider.

If this property is modified successfully, it automatically sets the layer's rebuild flag to True. See Rebuild for details.

When changing the DWG Data Source, several other properties may also have to be updated. These properties include Dwg, KeyTable, KeyColumn, KeyColumnType, NameTable, NameColumn, UrlTable, UrlColumn, and LayerFilter.

Note that for write operations, this property does not work during a busy state. For additional information, refer to "Handling Busy State and Map Refresh" chapter in the Autodesk MapGuide Developer's Guide.

Type

String (read/write)

Error Codes

-1 (busy): For write operations only.

See Also

getDataSource, setDataSource