Delen via


Cube.DefaultMeasure Property

Gets or sets the DefaultMeasure associated with a Cube.

Namespace:  Microsoft.AnalysisServices
Assembly:  Microsoft.AnalysisServices (in Microsoft.AnalysisServices.dll)

Syntax

'Declaration
<TypeConverterAttribute("Microsoft.AnalysisServices.Design.DefaultMeasureConverter, Microsoft.AnalysisServices.Design")> _
Public Property DefaultMeasure As String
    Get
    Set
'Usage
Dim instance As Cube
Dim value As String

value = instance.DefaultMeasure

instance.DefaultMeasure = value
[TypeConverterAttribute("Microsoft.AnalysisServices.Design.DefaultMeasureConverter, Microsoft.AnalysisServices.Design")]
public string DefaultMeasure { get; set; }
[TypeConverterAttribute(L"Microsoft.AnalysisServices.Design.DefaultMeasureConverter, Microsoft.AnalysisServices.Design")]
public:
property String^ DefaultMeasure {
    String^ get ();
    void set (String^ value);
}
[<TypeConverterAttribute("Microsoft.AnalysisServices.Design.DefaultMeasureConverter, Microsoft.AnalysisServices.Design")>]
member DefaultMeasure : string with get, set
function get DefaultMeasure () : String
function set DefaultMeasure (value : String)

Property Value

Type: System.String
The DefaultMeasure of the Cube.