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
- recordId
Type: System.Int64
- pageSize
Type: System.Int32
Return Value
Type: System.Collections.IEnumerator
Remarks
The enumerator will start the iteration at the specified record identifier.