Partilhar via


CubeAttributeCollection.Item Property (String)

Gets the CubeAttribute, with the specified identifier, from the collection.

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

Syntax

'Declaration
Public ReadOnly Default Property Item ( _
    attributeId As String _
) As CubeAttribute
public CubeAttribute this [
    string attributeId
] { get; }
public:
property CubeAttribute^ default [String^] {
    CubeAttribute^ get (String^ attributeId);
}
/** @property */
public CubeAttribute get_Item (String attributeId)

Parameters

  • attributeId

Property Value

The CubeAttribute specified by the identifier.

Exceptions

Exception type Condition
ArgumentNullException

attributeID is a null reference (Nothing in Visual Basic).

ItemNotFoundException

attributeID does not exist in the collection.

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

CubeAttributeCollection Class
CubeAttributeCollection Members
Microsoft.AnalysisServices Namespace