Condividi tramite


Proprietà Item (String)

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

Spazio dei nomi  Microsoft.AnalysisServices
Assembly:  Microsoft.AnalysisServices (in Microsoft.AnalysisServices.dll)

Sintassi

'Dichiarazione
Public ReadOnly Default Property Item ( _
    cubeDimensionId As String _
) As CubeDimensionPermission
    Get
'Utilizzo
Dim instance As CubeDimensionPermissionCollection
Dim cubeDimensionId As String
Dim value As CubeDimensionPermission

value = instance(cubeDimensionId)
public CubeDimensionPermission this[
    string cubeDimensionId
] { get; }
public:
property CubeDimensionPermission^ default[String^ cubeDimensionId] {
    CubeDimensionPermission^ get (String^ cubeDimensionId);
}
member Item : CubeDimensionPermission
JScript supporta l'utilizzo di proprietà indicizzate, ma non la dichiarazione di nuove proprietà.

Parametri

Valore proprietà

Tipo: Microsoft.AnalysisServices. . :: . .CubeDimensionPermission
The CubeDimensionPermission specified by the identifier.

Eccezioni

Eccezione Condizione
ArgumentNullException

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

ItemNotFoundException

cubeDimensionID does not exist in the collection.