INativeStructureServiceGetNativeStructuresForDataConnector 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
IEnumerable<NativeStructure> GetNativeStructuresForDataConnector(
	Guid dataConnectorId,
	SupportedDataStructures structureTypes,
	DiscoveryType discoveryType,
	bool includeMetadata
)

Parameters

dataConnectorId
Type: SystemGuid
The data connector identifier.
structureTypes
Type: Dundas.BI.Data.MetadataSupportedDataStructures
The structure types.
discoveryType
Type: Dundas.BI.Entities.DataConnectorsDiscoveryType
Type of the discovery.
includeMetadata
Type: SystemBoolean
If set to , include metadata.

Return Value

Type: IEnumerableNativeStructure
The native structures.
Exceptions
ExceptionCondition
ArgumentExceptiondataConnectorId is Empty.
NotFoundExceptionThe data connector with the specified ID does not exist.
NoPrivilegeExceptionThe caller does not have permission to access the entry.
InvalidSessionExceptionThe caller context is not associated with a valid session.
DataProviderLoadExceptionThe data provider may throw this exception if it requires third party driver to be installed.
DataConnectionExceptionThe connection cannot be established.
See Also