A Sandcastle Documented Class Library

# INativeStructureService GetNativeStructuresForDataConnector Method (Guid, SupportedDataStructures, DiscoveryType, Boolean)

Gets the native structures for data connector.

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

    IEnumerable<NativeStructure> GetNativeStructuresForDataConnector(
    	Guid dataConnectorId,
    	SupportedDataStructures structureTypes,
    	DiscoveryType discoveryType,
    	bool includeMetadata
    )

    Function GetNativeStructuresForDataConnector (
    	dataConnectorId As Guid,
    	structureTypes As SupportedDataStructures,
    	discoveryType As DiscoveryType,
    	includeMetadata As Boolean
    ) As IEnumerable(Of NativeStructure)

    IEnumerable<NativeStructure^>^ GetNativeStructuresForDataConnector(
    	Guid dataConnectorId,
    	SupportedDataStructures structureTypes,
    	DiscoveryType discoveryType,
    	bool includeMetadata
    )

    abstract GetNativeStructuresForDataConnector :
            dataConnectorId : Guid *
            structureTypes : SupportedDataStructures *
            discoveryType : DiscoveryType *
            includeMetadata : bool -> IEnumerable<NativeStructure>

#### Parameters

dataConnectorId
  Type: System
  Guid
  The data connector identifier.
structureTypes
  Type: Dundas.BI.Data.Metadata
  SupportedDataStructures
  The structure types.
discoveryType
  Type: Dundas.BI.Entities.DataConnectors
  DiscoveryType
  Type of the discovery.
includeMetadata
  Type: System
  Boolean
  If set to
  , include metadata.

#### Return Value

Type: IEnumerable
NativeStructure
The native structures.
Exceptions

Exception | Condition
--- | ---
ArgumentException | dataConnectorId is Empty.
NotFoundException | The data connector with the specified ID does not exist.
NoPrivilegeException | The caller does not have permission to access the entry.
InvalidSessionException | The caller context is not associated with a valid session.
DataProviderLoadException | The data provider may throw this exception if it requires third party driver to be installed.
DataConnectionException | The connection cannot be established.

See Also

#### Reference

INativeStructureService Interface
GetNativeStructuresForDataConnector Overload
Dundas.BI.Entities.DataConnectors Namespace