A Sandcastle Documented Class Library

# INativeStructureService Get Method (String, Guid, DiscoveryType)

Gets the NativeStructure by specifying the data connector ID and the structure name.

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(
    	string name,
    	Guid dataConnectorId,
    	DiscoveryType discoveryType
    )

    Function Get (
    	name As String,
    	dataConnectorId As Guid,
    	discoveryType As DiscoveryType
    ) As NativeStructure

    NativeStructure^ Get(
    	String^ name,
    	Guid dataConnectorId,
    	DiscoveryType discoveryType
    )

    abstract Get :
            name : string *
            dataConnectorId : Guid *
            discoveryType : DiscoveryType -> NativeStructure

#### Parameters

name
  Type: System
  String
  The structure name.
dataConnectorId
  Type: System
  Guid
  The data connector ID.
discoveryType
  Type: Dundas.BI.Entities.DataConnectors
  DiscoveryType
  Type of the discovery.

#### Return Value

Type: NativeStructure
The native structure.
Exceptions

Exception | Condition
--- | ---
ArgumentException | dataConnectorId is Empty.
NotFoundException | The data connector with the specified ID or the native structure with the specified name does not exist.
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.

See Also

#### Reference

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