Поделиться через


Свойство NameColumn

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

Пространство имен:  Microsoft.AnalysisServices
Сборка:  Microsoft.AnalysisServices (в Microsoft.AnalysisServices.dll)

Синтаксис

'Декларация
<TypeConverterAttribute("Microsoft.AnalysisServices.Design.DataItemTypeConverter, Microsoft.AnalysisServices.Design")> _
<BrowsableAttribute(True)> _
Public Property NameColumn As DataItem
    Get
    Set
'Применение
Dim instance As DimensionAttribute
Dim value As DataItem

value = instance.NameColumn

instance.NameColumn = value
[TypeConverterAttribute("Microsoft.AnalysisServices.Design.DataItemTypeConverter, Microsoft.AnalysisServices.Design")]
[BrowsableAttribute(true)]
public DataItem NameColumn { get; set; }
[TypeConverterAttribute(L"Microsoft.AnalysisServices.Design.DataItemTypeConverter, Microsoft.AnalysisServices.Design")]
[BrowsableAttribute(true)]
public:
property DataItem^ NameColumn {
    DataItem^ get ();
    void set (DataItem^ value);
}
[<TypeConverterAttribute("Microsoft.AnalysisServices.Design.DataItemTypeConverter, Microsoft.AnalysisServices.Design")>]
[<BrowsableAttribute(true)>]
member NameColumn : DataItem with get, set
function get NameColumn () : DataItem
function set NameColumn (value : DataItem)

Значение свойства

Тип Microsoft.AnalysisServices. . :: . .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.