Gets an enumerator object to enumerate through items in the collection. Namespace: Microsoft.EnterpriseManagement.Configuration
Assembly: Microsoft.EnterpriseManagement.OperationsManager (in microsoft.enterprisemanagement.operationsmanager.dll)

Usage

Visual Basic
Dim instance As ManagementPackReferenceCollection
Dim returnValue As Enumerator

returnValue = instance.GetEnumerator

Syntax

Visual Basic
Public Function GetEnumerator As Enumerator
C#
public Enumerator GetEnumerator ()
C++
public:
Enumerator GetEnumerator ()
J#
public Enumerator GetEnumerator ()
JScript
public function GetEnumerator () : Enumerator

Return Value

A collection of string and ManagementPackReference object pairs.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

Windows Server 2008, Windows Vista, Windows Server 2003, and Windows XP

Target Platforms

Windows Server 2008,Windows Server 2003,Windows Vista,Windows XP

See Also