Partager via


Measure.Source Property

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

Espace de noms: Microsoft.AnalysisServices
Assembly: Microsoft.AnalysisServices (in microsoft.analysisservices.dll)

Syntaxe

'Déclaration
<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)

Valeur de propriété

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

Notes

The details of the source containing the value of the measure

Sécurité des threads

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.

Plateformes

Plateformes de développement

Pour obtenir la liste des plateformes prises en charge, consultez Configuration matérielle et logicielle requise pour l'installation de SQL Server 2005.

Plateformes cibles

Pour obtenir la liste des plateformes prises en charge, consultez Configuration matérielle et logicielle requise pour l'installation de SQL Server 2005.

Voir aussi

Référence

Measure Class
Measure Members
Microsoft.AnalysisServices Namespace