Partager via


AttributeRelationship.Optionality Property

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

Espace de noms: Microsoft.AnalysisServices
Assembly: Microsoft.AnalysisServices (in microsoft.analysisservices.dll)

Syntaxe

'Déclaration
<BrowsableAttribute(False)> _
<DefaultValueAttribute(Optionality.Mandatory)> _
Public Property Optionality As Optionality
[BrowsableAttribute(false)] 
[DefaultValueAttribute(Optionality.Mandatory)] 
public Optionality Optionality { get; set; }
[BrowsableAttribute(false)] 
[DefaultValueAttribute(Optionality::Mandatory)] 
public:
property Optionality Optionality {
    Optionality get ();
    void set (Optionality value);
}
/** @property */
public Optionality get_Optionality ()

/** @property */
public void set_Optionality (Optionality value)
public function get Optionality () : Optionality

public function set Optionality (value : Optionality)

Valeur de propriété

An Optionality enumeration value.

Notes

Optionality values can be: Mandatory, Optional.

Sécurité des threads

Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Plateformes

Plateformes de développement

Pour obtenir la liste des plateformes prises en charge, consultez Configuration matérielle et logicielle requise pour l'installation de SQL Server 2005.

Plateformes cibles

Pour obtenir la liste des plateformes prises en charge, consultez Configuration matérielle et logicielle requise pour l'installation de SQL Server 2005.

Voir aussi

Référence

AttributeRelationship Class
AttributeRelationship Members
Microsoft.AnalysisServices Namespace