共用方式為


AdomdRestrictionCollection.Item Property

Gets or sets the specified AdomdRestriction from the collection by its index. In Microsoft Visual C#, this property is the indexer for the AdomdRestrictionCollection class.

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

語法

'宣告
Public Default Property Item ( _
    index As Integer _
) As AdomdRestriction
public AdomdRestriction this [
    int index
] { get; set; }
public:
property AdomdRestriction^ default [int] {
    AdomdRestriction^ get (int index);
    void set (int index, AdomdRestriction^ value);
}
/** @property */
public AdomdRestriction get_Item (int index)

/** @property */
public void set_Item (int index, AdomdRestriction value)

參數

屬性值

The element at the specified index.

執行緒安全性

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 的硬體和軟體需求>。

請參閱

參考

AdomdRestrictionCollection Class
AdomdRestrictionCollection Members
Microsoft.AnalysisServices.AdomdClient Namespace