Share via


Measure.Source Property

Gets or sets the data item source for the current measure.

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

Syntax

'Declaration
<TypeConverterAttribute("Microsoft.AnalysisServices.Design.DataItemTypeConverter, Microsoft.AnalysisServices.Design")> _
Public Property Source As DataItem
    Get
    Set
'Usage
Dim instance As Measure
Dim value As DataItem

value = instance.Source

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

Property Value

Type: Microsoft.AnalysisServices.DataItem
A DataItem value with the data source for the current measure.

Remarks

The details of the source containing the value of the measure