共用方式為


Optionality 屬性

Gets or sets the Optionality definition of the relationship between parent attribute and current attribute.

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

語法

'宣告
<BrowsableAttribute(False)> _
Public Property Optionality As Optionality
    Get
    Set
'用途
Dim instance As AttributeRelationship
Dim value As Optionality

value = instance.Optionality

instance.Optionality = value
[BrowsableAttribute(false)]
public Optionality Optionality { get; set; }
[BrowsableAttribute(false)]
public:
property Optionality Optionality {
    Optionality get ();
    void set (Optionality value);
}
[<BrowsableAttribute(false)>]
member Optionality : Optionality with get, set
function get Optionality () : Optionality
function set Optionality (value : Optionality)

屬性值

型別:Microsoft.AnalysisServices. . :: . .Optionality
An Optionality enumeration value.

備註

Optionality values can be: Mandatory, Optional.