Compartir a través de


NameColumn Propiedad

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

Espacio de nombres:  Microsoft.AnalysisServices
Ensamblado:  Microsoft.AnalysisServices (en Microsoft.AnalysisServices.dll)

Sintaxis

'Declaración
<BrowsableAttribute(True)> _
<TypeConverterAttribute("Microsoft.AnalysisServices.Design.DataItemTypeConverter, Microsoft.AnalysisServices.Design")> _
Public Property NameColumn As DataItem
    Get
    Set
'Uso
Dim instance As DimensionAttribute
Dim value As DataItem

value = instance.NameColumn

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

Valor de la propiedad

Tipo: Microsoft.AnalysisServices. . :: . .DataItem
A DataItem that identifies the column that provides the name of the DimensionAttribute.

Comentarios

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.