Partager via


DimensionAttribute.NameColumn Property

Gets or sets the column that provides the name of the DimensionAttribute.

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

Syntaxe

'Déclaration
<EditorAttribute("Microsoft.AnalysisServices.Design.DataItemPropertyTypeEditor, Microsoft.AnalysisServices.Design", GetType(UITypeEditor))> _
<XmlElementAttribute(IsNullable:=False)> _
<BrowsableAttribute(True)> _
<TypeConverterAttribute("Microsoft.AnalysisServices.Design.DataItemTypeConverter, Microsoft.AnalysisServices.Design")> _
<MergablePropertyAttribute(False)> _
Public Property NameColumn As DataItem
[EditorAttribute("Microsoft.AnalysisServices.Design.DataItemPropertyTypeEditor, Microsoft.AnalysisServices.Design", typeof(UITypeEditor))] 
[XmlElementAttribute(IsNullable=false)] 
[BrowsableAttribute(true)] 
[TypeConverterAttribute("Microsoft.AnalysisServices.Design.DataItemTypeConverter, Microsoft.AnalysisServices.Design")] 
[MergablePropertyAttribute(false)] 
public DataItem NameColumn { get; set; }
[EditorAttribute(L"Microsoft.AnalysisServices.Design.DataItemPropertyTypeEditor, Microsoft.AnalysisServices.Design", typeof(UITypeEditor))] 
[XmlElementAttribute(IsNullable=false)] 
[BrowsableAttribute(true)] 
[TypeConverterAttribute(L"Microsoft.AnalysisServices.Design.DataItemTypeConverter, Microsoft.AnalysisServices.Design")] 
[MergablePropertyAttribute(false)] 
public:
property DataItem^ NameColumn {
    DataItem^ get ();
    void set (DataItem^ value);
}
/** @property */
public DataItem get_NameColumn ()

/** @property */
public void set_NameColumn (DataItem value)
public function get NameColumn () : DataItem

public function set NameColumn (value : DataItem)

Valeur de propriété

A DataItem that identifies the column that provides the name of the DimensionAttribute.

Notes

If the KeyColumns collection contains a single KeyColumn representing a key column with a string data type, the same DataItem values are used as default values for the NameColumn property.

In parent-child dimensions, the NameColumn used comes from the child element not from the parent; if the Usage value, on the parent object, is set to Parent, then the NameColumn is not used.

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

DimensionAttribute Class
DimensionAttribute Members
Microsoft.AnalysisServices Namespace