DataAccessTask<TDataObject>.GetDataObjects<TObject> Method (IIdentityParameter, IConfigDataProvider, ObjectId)
Namespace: Microsoft.Exchange.Configuration.Tasks
Assembly: Microsoft.Exchange.Configuration.ObjectModel (in Microsoft.Exchange.Configuration.ObjectModel.dll)
Syntax
'Declaration
Protected Function GetDataObjects(Of TObject As {New, IConfigurable}) ( _
id As IIdentityParameter, _
session As IConfigDataProvider, _
rootID As ObjectId _
) As IEnumerable(Of TObject)
'Usage
Dim id As IIdentityParameter
Dim session As IConfigDataProvider
Dim rootID As ObjectId
Dim returnValue As IEnumerable(Of TObject)
returnValue = Me.GetDataObjects(id, _
session, rootID)
protected IEnumerable<TObject> GetDataObjects<TObject>(
IIdentityParameter id,
IConfigDataProvider session,
ObjectId rootID
)
where TObject : new(), IConfigurable
Type Parameters
- TObject
Parameters
- session
Type: Microsoft.Exchange.Data.IConfigDataProvider
- rootID
Type: Microsoft.Exchange.Data.ObjectId
Return Value
Type: System.Collections.Generic.IEnumerable<TObject>