Partilhar 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
<XmlElementAttribute(IsNullable:=False)> _
<TypeConverterAttribute("Microsoft.AnalysisServices.Design.DataItemTypeConverter, Microsoft.AnalysisServices.Design")> _
<EditorAttribute("Microsoft.AnalysisServices.Design.DataItemPropertyTypeEditor, Microsoft.AnalysisServices.Design", GetType(UITypeEditor))> _
<MergablePropertyAttribute(False)> _
Public Property Source As DataItem
[XmlElementAttribute(IsNullable=false)] 
[TypeConverterAttribute("Microsoft.AnalysisServices.Design.DataItemTypeConverter, Microsoft.AnalysisServices.Design")] 
[EditorAttribute("Microsoft.AnalysisServices.Design.DataItemPropertyTypeEditor, Microsoft.AnalysisServices.Design", typeof(UITypeEditor))] 
[MergablePropertyAttribute(false)] 
public DataItem Source { get; set; }
[XmlElementAttribute(IsNullable=false)] 
[TypeConverterAttribute(L"Microsoft.AnalysisServices.Design.DataItemTypeConverter, Microsoft.AnalysisServices.Design")] 
[EditorAttribute(L"Microsoft.AnalysisServices.Design.DataItemPropertyTypeEditor, Microsoft.AnalysisServices.Design", typeof(UITypeEditor))] 
[MergablePropertyAttribute(false)] 
public:
property DataItem^ Source {
    DataItem^ get ();
    void set (DataItem^ value);
}
/** @property */
public DataItem get_Source ()

/** @property */
public void set_Source (DataItem value)
public function get Source () : DataItem

public function set Source (value : DataItem)

Property Value

A DataItem value with the data source for the current measure.

Remarks

The details of the source containing the value of the measure

Thread Safety

Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.

Target Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.

See Also

Reference

Measure Class
Measure Members
Microsoft.AnalysisServices Namespace