共用方式為


DimensionAttribute.KeyUniquenessGuarantee Property

Gets or sets whether the relationship between the attribute key and its name, and the relationship to related attributes, is guaranteed to be valid.

命名空間: Microsoft.AnalysisServices
組件: Microsoft.AnalysisServices (in microsoft.analysisservices.dll)

語法

'宣告
<BrowsableAttribute(False)> _
<DefaultValueAttribute(False)> _
Public Property KeyUniquenessGuarantee As Boolean
[BrowsableAttribute(false)] 
[DefaultValueAttribute(false)] 
public bool KeyUniquenessGuarantee { get; set; }
[BrowsableAttribute(false)] 
[DefaultValueAttribute(false)] 
public:
property bool KeyUniquenessGuarantee {
    bool get ();
    void set (bool value);
}
/** @property */
public boolean get_KeyUniquenessGuarantee ()

/** @property */
public void set_KeyUniquenessGuarantee (boolean value)
public function get KeyUniquenessGuarantee () : boolean

public function set KeyUniquenessGuarantee (value : boolean)

屬性值

true if the relationship between the attribute key and its name, and the relationship to related attributes, is guaranteed to be valid; otherwise, false.

備註

Microsoft SQL Server 2005 Analysis Services (SSAS) uses the KeyUniquenessGuarantee parameter to optimize query construction when it retrieves members from the underlying data source for this attribute.

執行緒安全性

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.

平台

開發平台

如需受支援的平台清單,請參閱<安裝 SQL Server 2005 的硬體和軟體需求>。

目標平台

如需受支援的平台清單,請參閱<安裝 SQL Server 2005 的硬體和軟體需求>。

請參閱

參考

DimensionAttribute Class
DimensionAttribute Members
Microsoft.AnalysisServices Namespace