Delen via


AttributeRelationship.Optionality Property

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

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

Syntax

'Declaration
<BrowsableAttribute(False)> _
Public Property Optionality As Optionality
    Get
    Set
'Usage
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)

Property Value

Type: Microsoft.AnalysisServices.Optionality
An Optionality enumeration value.

Remarks

Optionality values can be: Mandatory, Optional.