A Sandcastle Documented Class Library

# INativeStructureService Get Method (Guid, DiscoveryType, Boolean)

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

    NativeStructure Get(
    	Guid id,
    	DiscoveryType discoveryType,
    	bool includeMetadata
    )

    Function Get (
    	id As Guid,
    	discoveryType As DiscoveryType,
    	includeMetadata As Boolean
    ) As NativeStructure

    NativeStructure^ Get(
    	Guid id,
    	DiscoveryType discoveryType,
    	bool includeMetadata
    )

    abstract Get :
            id : Guid *
            discoveryType : DiscoveryType *
            includeMetadata : bool -> NativeStructure

#### Parameters

id
  Type: System
  Guid
  The native structure ID.
discoveryType
  Type: Dundas.BI.Entities.DataConnectors
  DiscoveryType
  Type of the discovery.
includeMetadata
  Type: System
  Boolean
  If set to
  , include metadata.

#### Return Value

Type: NativeStructure
The native structure.
Exceptions

Exception | Condition
--- | ---
NoPrivilegeException | Caller does not have access to the specified entity.
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.
NotFoundException | The data structure with the specified ID doesn't exist or cannot be discovered.

See Also

#### Reference

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