Compartir a través de


OlapInfoHierarchyCollection.Enumerator.MoveNext Method

Moves to the next OlapInfoHierarchy in the OlapInfoHierarchyCollection.

Espacio de nombres: Microsoft.AnalysisServices.AdomdClient
Ensamblado: Microsoft.AnalysisServices.AdomdClient (in microsoft.analysisservices.adomdclient.dll)

Sintaxis

'Declaración
Public Function MoveNext As Boolean
public bool MoveNext ()
public:
virtual bool MoveNext () sealed
public final boolean MoveNext ()
public final function MoveNext () : boolean

Valor devuelto

true if the enumerator was successfully advanced to the next element; false if the enumerator has passed the end of the collection.

Excepciones

Tipo de excepción Condición
System.InvalidOperationException

The collection has changed, invalidating the enumerator.

Notas

An enumerator remains valid as long as the collection remains unchanged. If changes are made to the collection, such as adding, modifying or deleting elements, the enumerator is irrecoverably invalidated, and the next call to MoveNext or Reset throws a System.InvalidOperationException.

Seguridad para subprocesos

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.

Plataformas

Plataformas de desarrollo

Para obtener una lista de las plataformas compatibles, vea Requisitos de hardware y software para instalar SQL Server 2005.

Plataformas de destino

Para obtener una lista de las plataformas compatibles, vea Requisitos de hardware y software para instalar SQL Server 2005.

Vea también

Referencia

OlapInfoHierarchyCollection.Enumerator Structure
OlapInfoHierarchyCollection.Enumerator Members
Microsoft.AnalysisServices.AdomdClient Namespace