Dela 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.

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

Syntax

'Declaration
Public Property Cardinality As Cardinality
    Get
    Set
'Usage
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)

Property Value

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

Remarks

Cardinality values can be: Many, One.