SearchObjectIdParameter.GetObjects<T> Method (ObjectId, IConfigDataProvider)

Namespace:  Microsoft.Exchange.Configuration.Tasks
Assembly:  Microsoft.Exchange.Configuration.ObjectModel (in Microsoft.Exchange.Configuration.ObjectModel.dll)

Syntax

'Declaration
Public Function GetObjects(Of T As {New, IConfigurable}) ( _
    rootId As ObjectId, _
    session As IConfigDataProvider _
) As IEnumerable(Of T)
'Usage
Dim instance As SearchObjectIdParameter
Dim rootId As ObjectId
Dim session As IConfigDataProvider
Dim returnValue As IEnumerable(Of T)

returnValue = instance.GetObjects(rootId, _
    session)
public IEnumerable<T> GetObjects<T>(
    ObjectId rootId,
    IConfigDataProvider session
)
where T : new(), IConfigurable

Type Parameters

  • T