DimensionAttribute.NameColumn Property
Applies To: SQL Server 2016 Preview
Gets or sets the column that provides the name of the DimensionAttribute.
Namespace: Microsoft.AnalysisServices
Assembly: Microsoft.AnalysisServices (in Microsoft.AnalysisServices.dll)
Syntax
[TypeConverterAttribute("Microsoft.AnalysisServices.Design.DataItemTypeConverter, Microsoft.AnalysisServices.Design")]
[DefaultValueAttribute(null)]
[BrowsableAttribute(true)]
[XmlElementAttribute(IsNullable = false)]
[EditorAttribute("Microsoft.AnalysisServices.Design.DataItemPropertyTypeEditor, Microsoft.AnalysisServices.Design",
typeof(UITypeEditor))]
[MergablePropertyAttribute(false)]
public DataItem NameColumn { get; set; }
public:
[TypeConverterAttribute("Microsoft.AnalysisServices.Design.DataItemTypeConverter, Microsoft.AnalysisServices.Design")]
[DefaultValueAttribute(null)]
[BrowsableAttribute(true)]
[XmlElementAttribute(IsNullable = false)]
[EditorAttribute("Microsoft.AnalysisServices.Design.DataItemPropertyTypeEditor, Microsoft.AnalysisServices.Design",
(UITypeEditor^::typeid))]
[MergablePropertyAttribute(false)]
property DataItem^ NameColumn {
DataItem^ get();
void set(DataItem^ value);
}
[<TypeConverterAttribute("Microsoft.AnalysisServices.Design.DataItemTypeConverter, Microsoft.AnalysisServices.Design")>]
[<DefaultValueAttribute(null)>]
[<BrowsableAttribute(true)>]
[<XmlElementAttribute(IsNullable = false)>]
[<EditorAttribute("Microsoft.AnalysisServices.Design.DataItemPropertyTypeEditor, Microsoft.AnalysisServices.Design",
typeof(UITypeEditor))>]
[<MergablePropertyAttribute(false)>]
member NameColumn : DataItem with get, set
<TypeConverterAttribute("Microsoft.AnalysisServices.Design.DataItemTypeConverter, Microsoft.AnalysisServices.Design")>
<DefaultValueAttribute(Nothing)>
<BrowsableAttribute(True)>
<XmlElementAttribute(IsNullable := False)>
<EditorAttribute("Microsoft.AnalysisServices.Design.DataItemPropertyTypeEditor, Microsoft.AnalysisServices.Design",
GetType(UITypeEditor))>
<MergablePropertyAttribute(False)>
Public Property NameColumn As DataItem
Property Value
Type: Microsoft.AnalysisServices.DataItem
A DataItem that identifies the column that provides the name of the DimensionAttribute.
Remarks
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.
See Also
DimensionAttribute Class
Microsoft.AnalysisServices Namespace
Return to top