Partager via


Cardinality propriété

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 (dans Microsoft.AnalysisServices.dll)

Syntaxe

'Déclaration
Public Property Cardinality As Cardinality
    Get
    Set
'Utilisation
Dim instance As AttributeRelationship
Dim value As Cardinality

value = instance.Cardinality

instance.Cardinality = value
public Cardinality Cardinality { get; set; }
public:
property Cardinality Cardinality {
    Cardinality get ();
    void set (Cardinality value);
}
member Cardinality : Cardinality with get, set
function get Cardinality () : Cardinality
function set Cardinality (value : Cardinality)

Valeur de la propriété

Type : Microsoft.AnalysisServices. . :: . .Cardinality
A Cardinality enumeration value.

Notes

Cardinality values can be: Many, One.