DimensionAttribute.NameColumn Property
Gets or sets the column that provides the name of the DimensionAttribute.
Spazio dei nomi: Microsoft.AnalysisServices
Assembly : Microsoft.AnalysisServices (in microsoft.analysisservices.dll)
Sintassi
'Dichiarazione
<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)
Valore proprietà
A DataItem that identifies the column that provides the name of the DimensionAttribute.
Osservazioni
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.
Thread Safety
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.
Piattaforme
Piattaforme di sviluppo
Per un elenco delle piattaforme supportate, vedere Requisiti hardware e software per l'Installazione di SQL Server 2005.
Piattaforme di destinazione
Per un elenco delle piattaforme supportate, vedere Requisiti hardware e software per l'Installazione di SQL Server 2005.
Vedere anche
Riferimento
DimensionAttribute Class
DimensionAttribute Members
Microsoft.AnalysisServices Namespace