DimensionAttribute.Usage Property
Gets or sets how an attribute is used.
Пространство имен: Microsoft.AnalysisServices
Сборка: Microsoft.AnalysisServices (in microsoft.analysisservices.dll)
Синтаксис
'Декларация
<DefaultValueAttribute(AttributeUsage.Regular)> _
<TypeConverterAttribute("Microsoft.AnalysisServices.Design.TypeConverterForAttributeUsage, Microsoft.AnalysisServices.Design")> _
Public Property Usage As AttributeUsage
[DefaultValueAttribute(AttributeUsage.Regular)]
[TypeConverterAttribute("Microsoft.AnalysisServices.Design.TypeConverterForAttributeUsage, Microsoft.AnalysisServices.Design")]
public AttributeUsage Usage { get; set; }
[DefaultValueAttribute(AttributeUsage::Regular)]
[TypeConverterAttribute(L"Microsoft.AnalysisServices.Design.TypeConverterForAttributeUsage, Microsoft.AnalysisServices.Design")]
public:
property AttributeUsage Usage {
AttributeUsage get ();
void set (AttributeUsage value);
}
/** @property */
public AttributeUsage get_Usage ()
/** @property */
public void set_Usage (AttributeUsage value)
public function get Usage () : AttributeUsage
public function set Usage (value : AttributeUsage)
Значение свойства
A AttributeUsage describing how an attribute is used.
Замечания
The value of this property can be:
Value |
Description |
Regular |
The attribute is a regular attribute. |
Key |
The attribute is a key attribute. |
Parent |
The attribute is a parent attribute. |
Синхронизация потоков
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.
Платформы
Платформы разработки
Список поддерживаемых платформ см. в разделе Hardware and Software Requirements for Installing SQL Server 2005.
Целевые платформы
Список поддерживаемых платформ см. в разделе Hardware and Software Requirements for Installing SQL Server 2005.
См. также
Справочник
DimensionAttribute Class
DimensionAttribute Members
Microsoft.AnalysisServices Namespace