IDataConnectorServiceDiscoverStructures Method (Guid, SupportedDataStructures)

Discovers names and descriptions of the native data structures and saves them into the application database. This method also discovers relationships between tables. If the data connector has metadata flag Constants.DataConnectorPropertyIgnoreDiscovery, the method does nothing.

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(
	Guid dataConnectorId,
	SupportedDataStructures types
)

Parameters

dataConnectorId
Type: SystemGuid
The data connector ID.
types
Type: Dundas.BI.Data.MetadataSupportedDataStructures
Structure types to discover.
Exceptions
ExceptionCondition
ArgumentExceptiondataConnectorId is Empty.
NotFoundExceptionThe data connector with the specified ID does not exist.
NoPrivilegeExceptionCaller does not have the Read privilege on the specified data connector.
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