A Sandcastle Documented Class Library

# OlapCube FindMember Method (String, Boolean)

Finds the member by member 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

    public OlapMember FindMember(
    	string uniqueName,
    	bool forceDiscovery
    )

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

    public:
    virtual OlapMember^ FindMember(
    	String^ uniqueName,
    	bool forceDiscovery
    ) sealed

    abstract FindMember :
            uniqueName : string *
            forceDiscovery : bool -> OlapMember
    override 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
Instance of OlapMember object or null if not found.

#### Implements

IOlapCube
FindMember(String, Boolean)
Exceptions

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

See Also

#### Reference

OlapCube Class
FindMember Overload
Dundas.BI.Data.Metadata.Olap Namespace