DimensionCollection.Item Property (String)

Gets the specified Dimensionfrom the collection by its name. In Microsoft Visual C#, this property is the indexer for the DimensionCollection class.

Namespace:  Microsoft.AnalysisServices.AdomdServer
Assembly:  msmgdsrv (in msmgdsrv.dll)

Syntax

'Declaration
Public ReadOnly Default Property Item ( _
    name As String _
) As Dimension 
    Get
'Usage
Dim instance As DimensionCollection 
Dim name As String 
Dim value As Dimension 

value = instance(name)
public Dimension this[
    string name
] { get; }
public:
property Dimension^ default[String^ name] {
    Dimension^ get (String^ name);
}
member Item : Dimension
JScript supports the use of indexed properties, but not the declaration of new ones.

Parameters

  • name
    Type: String
    The name of the Dimension to find.

Property Value

Type: Microsoft.AnalysisServices.AdomdServer.Dimension
The Dimension with the specified name.

See Also

Reference

DimensionCollection Class

Item Overload

Microsoft.AnalysisServices.AdomdServer Namespace