Partager via


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.

Espace de noms: Microsoft.AnalysisServices
Assembly: Microsoft.AnalysisServices (in microsoft.analysisservices.dll)

Syntaxe

'Déclaration
<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)

Valeur de propriété

A Cardinality enumeration value.

Notes

Cardinality values can be: Many, One.

Sécurité des threads

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.

Plateformes

Plateformes de développement

Pour obtenir la liste des plateformes prises en charge, consultez Configuration matérielle et logicielle requise pour l'installation de SQL Server 2005.

Plateformes cibles

Pour obtenir la liste des plateformes prises en charge, consultez Configuration matérielle et logicielle requise pour l'installation de SQL Server 2005.

Voir aussi

Référence

AttributeRelationship Class
AttributeRelationship Members
Microsoft.AnalysisServices Namespace