DimensionAttribute.NameColumn Property

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

命名空间: Microsoft.AnalysisServices
程序集: Microsoft.AnalysisServices (in microsoft.analysisservices.dll)

语法

声明
<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)

属性值

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

备注

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.

线程安全

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.

平台

开发平台

有关支持的平台列表,请参阅安装 SQL Server 2005 的硬件和软件要求。

目标平台

有关支持的平台列表,请参阅安装 SQL Server 2005 的硬件和软件要求。

请参阅

参考

DimensionAttribute Class
DimensionAttribute Members
Microsoft.AnalysisServices Namespace