แชร์ผ่าน


AttributeRelationship.Cardinality Property

Gets or sets the cardinality of the relationship between the current parent attribute and the defined Attribute. Cardinality refers to the defined attribute, not the parent attribute.

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

Syntax

'Declaration
<DefaultValueAttribute(Cardinality.Many)> _
Public Property Cardinality As Cardinality
[DefaultValueAttribute(Cardinality.Many)] 
public Cardinality Cardinality { get; set; }
[DefaultValueAttribute(Cardinality::Many)] 
public:
property Cardinality Cardinality {
    Cardinality get ();
    void set (Cardinality value);
}
/** @property */
public Cardinality get_Cardinality ()

/** @property */
public void set_Cardinality (Cardinality value)
public function get Cardinality () : Cardinality

public function set Cardinality (value : Cardinality)

Property Value

A Cardinality enumeration value.

Remarks

Cardinality values can be: Many, One.

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.

Platforms

Development Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.

Target Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.

See Also

Reference

AttributeRelationship Class
AttributeRelationship Members
Microsoft.AnalysisServices Namespace