Compartilhar via


Propriedade Item (String)

Gets the PerspectiveHierarchy that has the specified identifier from the collection.

Namespace:  Microsoft.AnalysisServices
Assembly:  Microsoft.AnalysisServices (em Microsoft.AnalysisServices.dll)

Sintaxe

'Declaração
Public ReadOnly Default Property Item ( _
    hierarchyId As String _
) As PerspectiveHierarchy
    Get
'Uso
Dim instance As PerspectiveHierarchyCollection
Dim hierarchyId As String
Dim value As PerspectiveHierarchy

value = instance(hierarchyId)
public PerspectiveHierarchy this[
    string hierarchyId
] { get; }
public:
property PerspectiveHierarchy^ default[String^ hierarchyId] {
    PerspectiveHierarchy^ get (String^ hierarchyId);
}
member Item : PerspectiveHierarchy
JScript dá suporte ao uso de propriedades indexadas, mas não à declaração de propriedades novas.

Parâmetros

Valor da propriedade

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

Exceções

Exceção Condição
ArgumentNullException

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

ItemNotFoundException

hierarchyID does not exist in the collection.