IDataConnectorServiceDiscoverSpecifiedStructures Method (Guid, SupportedDataStructures, ICollectionString)

Discovers names and descriptions of the native data structures and saves them into the application database. Only structures in structureNamesToDiscover will be discovered. 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 DiscoverSpecifiedStructures(
	Guid dataConnectorId,
	SupportedDataStructures types,
	ICollection<string> structureNamesToDiscover
)

Parameters

dataConnectorId
Type: SystemGuid
The data connector ID.
types
Type: Dundas.BI.Data.MetadataSupportedDataStructures
Structure types to discover.
structureNamesToDiscover
Type: System.Collections.GenericICollectionString
The structure names 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