ProfileManagerBase.GetEnumerator method (Int64, Int32)

Returns an IEnumerator that can be used to iterate through a specified number of profiles.

Namespace:  Microsoft.Office.Server.UserProfiles
Assembly:  Microsoft.Office.Server.UserProfiles (in Microsoft.Office.Server.UserProfiles.dll)

Syntax

'Declaration
Public Overridable Function GetEnumerator ( _
    recordId As Long, _
    pageSize As Integer _
) As IEnumerator
'Usage
Dim instance As ProfileManagerBase
Dim recordId As Long
Dim pageSize As Integer
Dim returnValue As IEnumerator

returnValue = instance.GetEnumerator(recordId, _
    pageSize)
public virtual IEnumerator GetEnumerator(
    long recordId,
    int pageSize
)

Parameters

Return value

Type: System.Collections.IEnumerator

Remarks

The enumerator will start the iteration at the specified record identifier.

See also

Reference

ProfileManagerBase class

ProfileManagerBase members

GetEnumerator overload

Microsoft.Office.Server.UserProfiles namespace