A Sandcastle Documented Class Library

# OlapCube TryGetMeasure Method

Tries to get the requested IMeasure 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

    public bool TryGetMeasure(
    	string uniqueName,
    	out IMeasure measure
    )

    Public Function TryGetMeasure (
    	uniqueName As String,
    	<OutAttribute> ByRef measure As IMeasure
    ) As Boolean

    public:
    virtual bool TryGetMeasure(
    	String^ uniqueName,
    	[OutAttribute] IMeasure^% measure
    ) sealed

    abstract TryGetMeasure :
            uniqueName : string *
            measure : IMeasure byref -> bool
    override TryGetMeasure :
            uniqueName : string *
            measure : IMeasure byref -> bool

#### Parameters

uniqueName
  Type: System
  String
  The unique name of the measure.
measure
  Type: Dundas.BI.Data.Metadata
  IMeasure
  The measure.

#### Return Value

Type: Boolean
if the measure was found; otherwise
.

#### Implements

IAnalysisStructure
TryGetMeasure(String, IMeasure
)
See Also

#### Reference

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