DimensionAttribute.KeyColumns Property

 

Applies To: SQL Server 2016 Preview

Gets the collection of key column definitions for DimensionAttribute.

Namespace:   Microsoft.AnalysisServices
Assembly:  Microsoft.AnalysisServices (in Microsoft.AnalysisServices.dll)

Syntax

[MergablePropertyAttribute(false)]
[XmlArrayAttribute]
[XmlArrayItemAttribute("KeyColumn", typeof(DataItem))]
[BrowsableAttribute(true)]
[TypeConverterAttribute("Microsoft.AnalysisServices.Design.KeyColumnsTypeConverter, Microsoft.AnalysisServices.Design")]
[EditorAttribute("Microsoft.AnalysisServices.Design.KeyColumnsPropertyTypeEditor, Microsoft.AnalysisServices.Design", 
    typeof(UITypeEditor))]
public DataItemCollection KeyColumns { get; }
public:
[MergablePropertyAttribute(false)]
[XmlArrayAttribute]
[XmlArrayItemAttribute("KeyColumn", (DataItem^::typeid))]
[BrowsableAttribute(true)]
[TypeConverterAttribute("Microsoft.AnalysisServices.Design.KeyColumnsTypeConverter, Microsoft.AnalysisServices.Design")]
[EditorAttribute("Microsoft.AnalysisServices.Design.KeyColumnsPropertyTypeEditor, Microsoft.AnalysisServices.Design", 
    (UITypeEditor^::typeid))]
property DataItemCollection^ KeyColumns {
    DataItemCollection^ get();
}
[<MergablePropertyAttribute(false)>]
[<XmlArrayAttribute>]
[<XmlArrayItemAttribute("KeyColumn", typeof(DataItem))>]
[<BrowsableAttribute(true)>]
[<TypeConverterAttribute("Microsoft.AnalysisServices.Design.KeyColumnsTypeConverter, Microsoft.AnalysisServices.Design")>]
[<EditorAttribute("Microsoft.AnalysisServices.Design.KeyColumnsPropertyTypeEditor, Microsoft.AnalysisServices.Design",
    typeof(UITypeEditor))>]
member KeyColumns : DataItemCollection with get
<MergablePropertyAttribute(False)>
<XmlArrayAttribute>
<XmlArrayItemAttribute("KeyColumn", GetType(DataItem))>
<BrowsableAttribute(True)>
<TypeConverterAttribute("Microsoft.AnalysisServices.Design.KeyColumnsTypeConverter, Microsoft.AnalysisServices.Design")>
<EditorAttribute("Microsoft.AnalysisServices.Design.KeyColumnsPropertyTypeEditor, Microsoft.AnalysisServices.Design",
    GetType(UITypeEditor))>
Public ReadOnly Property KeyColumns As DataItemCollection

Property Value

Type: Microsoft.AnalysisServices.DataItemCollection

A DataItemCollection containing the key column definitions for DimensionAttribute.

See Also

DimensionAttribute Class
Microsoft.AnalysisServices Namespace

Return to top