Share via


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