DimensionAttribute.Usage Property

Gets or sets how an attribute is used.

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

Syntax

'Declaration
<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)

Eigenschaftswert

A AttributeUsage describing how an attribute is used.

Hinweise

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.

Threadsicherheit

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.

Plattformen

Entwicklungsplattformen

Eine Liste der unterstützten Plattformen finden Sie unterHardware- und Softwareanforderungen für die Installation von SQL Server 2005.

Zielplattforme

Eine Liste der unterstützten Plattformen finden Sie unterHardware- und Softwareanforderungen für die Installation von SQL Server 2005.

Siehe auch

Verweis

DimensionAttribute Class
DimensionAttribute Members
Microsoft.AnalysisServices Namespace