共用方式為


AttributeRelationship.Cardinality 屬性

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.

命名空間:  Microsoft.AnalysisServices
組件:  Microsoft.AnalysisServices (在 Microsoft.AnalysisServices.dll 中)

語法

'宣告
Public Property Cardinality As Cardinality 
    Get 
    Set
'用途
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)

屬性值

型別:Microsoft.AnalysisServices.Cardinality
A Cardinality enumeration value.

備註

Cardinality values can be: Many, One.

請參閱

參考

AttributeRelationship 類別

Microsoft.AnalysisServices 命名空間