แชร์ผ่าน


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)> _
<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)

Property Value

An Optionality enumeration value.

Remarks

Optionality values can be: Mandatory, Optional.

Thread Safety

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.

Platforms

Development Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.

Target Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.

See Also

Reference

AttributeRelationship Class
AttributeRelationship Members
Microsoft.AnalysisServices Namespace