IDataConnectorServiceDiscoverStructures Method (DataConnector, SupportedDataStructures)

Discovers names and descriptions of the native data structures and saves them into the application database. This method also discovers relationships between tables.

Namespace:  Dundas.BI.Entities.DataConnectors
Assembly:  Dundas.BI.Core (in Dundas.BI.Core.dll) Version: 2.0.0.0 (10.0.0.1002)
Syntax
void DiscoverStructures(
	DataConnector dataConnector,
	SupportedDataStructures types
)

Parameters

dataConnector
Type: Dundas.BI.Entities.DataConnectorsDataConnector
The data connector.
types
Type: Dundas.BI.Data.MetadataSupportedDataStructures
Structure types to discover.
Exceptions
ExceptionCondition
ArgumentNullExceptiondataConnector is .
DataProviderLoadExceptionThe data provider requires third party driver to be installed.
DataConnectionExceptionThe connection cannot be established.
InvalidSessionExceptionThe caller context is not associated with a valid session.
Remarks
If the structures already exist (were previously discovered), this method will do the following: - new structures : add; - existing structures : update; - structures no longer there : delete.
See Also