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