Share via


MigrationUserIdParameter.GetObjects<T> method (ObjectId, IConfigDataProvider, OptionalIdentityData, Nullable<LocalizedString>)

Namespace:  Microsoft.Exchange.Management.Migration
Assembly:  Microsoft.Exchange.Management (in Microsoft.Exchange.Management.dll)

Syntax

'Declaration
Public Function GetObjects(Of T As New) ( _
    rootId As ObjectId, _
    session As IConfigDataProvider, _
    optionalData As OptionalIdentityData, _
    <OutAttribute> ByRef notFoundReason As Nullable(Of LocalizedString) _
) As IEnumerable(Of T)
'Usage
Dim instance As MigrationUserIdParameter
Dim rootId As ObjectId
Dim session As IConfigDataProvider
Dim optionalData As OptionalIdentityData
Dim notFoundReason As Nullable(Of LocalizedString)
Dim returnValue As IEnumerable(Of T)

returnValue = instance.GetObjects(rootId, _
    session, optionalData, notFoundReason)
public IEnumerable<T> GetObjects<T>(
    ObjectId rootId,
    IConfigDataProvider session,
    OptionalIdentityData optionalData,
    out Nullable<LocalizedString> notFoundReason
)
where T : new()

Type parameters

  • T

Parameters

Return value

Type: System.Collections.Generic.IEnumerable<T>

See also

Reference

MigrationUserIdParameter class

MigrationUserIdParameter members

GetObjects overload

Microsoft.Exchange.Management.Migration namespace