A Sandcastle Documented Class Library

# IOlapCube FindMember Method

Finds the member by its unique name.

Namespace: Dundas.BI.Data.Metadata.Olap
Assembly: Dundas.BI.Core (in Dundas.BI.Core.dll) Version: 2.0.0.0 (10.0.0.1002)
Syntax
C#
VB
C++
F#
Copy

    OlapMember FindMember(
    	string uniqueName,
    	bool forceDiscovery
    )

    Function FindMember (
    	uniqueName As String,
    	forceDiscovery As Boolean
    ) As OlapMember

    OlapMember^ FindMember(
    	String^ uniqueName,
    	bool forceDiscovery
    )

    abstract FindMember :
            uniqueName : string *
            forceDiscovery : bool -> OlapMember

#### Parameters

uniqueName
  Type: System
  String
  The member unique name.
forceDiscovery
  Type: System
  Boolean
  If set to
  force member loading from the database, if not found in the cube.

#### Return Value

Type: OlapMember
The OlapMember object or
if not found.
Exceptions

Exception | Condition
--- | ---
ArgumentException | Thrown when uniqueName is invalid.

See Also

#### Reference

IOlapCube Interface
Dundas.BI.Data.Metadata.Olap Namespace