INativeStructureServiceGet Method (Guid, DiscoveryType)

Gets the NativeStructure by specifying the native structure ID and the discovery type.

Namespace:  Dundas.BI.Entities.DataConnectors
Assembly:  Dundas.BI.Core (in Dundas.BI.Core.dll) Version: 2.0.0.0 (10.0.0.1002)
Syntax
NativeStructure Get(
	Guid id,
	DiscoveryType discoveryType
)

Parameters

id
Type: SystemGuid
The native structure ID.
discoveryType
Type: Dundas.BI.Entities.DataConnectorsDiscoveryType
Type of the discovery.

Return Value

Type: NativeStructure
The native structure.
Exceptions
ExceptionCondition
NoPrivilegeExceptionCaller does not have access to the specified entity.
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.
NotFoundExceptionThe data structure with the specified ID doesn't exist or cannot be discovered.
See Also