A Sandcastle Documented Class Library

# IDataConnectorService DiscoverStructures 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
C#
VB
C++
F#
Copy

    void DiscoverStructures(
    	DataConnector dataConnector,
    	SupportedDataStructures types
    )

    Sub DiscoverStructures (
    	dataConnector As DataConnector,
    	types As SupportedDataStructures
    )

    void DiscoverStructures(
    	DataConnector^ dataConnector,
    	SupportedDataStructures types
    )

    abstract DiscoverStructures :
            dataConnector : DataConnector *
            types : SupportedDataStructures -> unit

#### Parameters

dataConnector
  Type: Dundas.BI.Entities.DataConnectors
  DataConnector
  The data connector.
types
  Type: Dundas.BI.Data.Metadata
  SupportedDataStructures
  Structure types to discover.

Exceptions

Exception | Condition
--- | ---
ArgumentNullException | dataConnector is .
DataProviderLoadException | The data provider requires third party driver to be installed.
DataConnectionException | The connection cannot be established.
InvalidSessionException | The 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

#### Reference

IDataConnectorService Interface
DiscoverStructures Overload
Dundas.BI.Entities.DataConnectors Namespace