DatabaseAvailabilityGroupNetworkIdParameter.IIdentityParameter.GetObjects Method (ObjectId, IConfigDataProvider, OptionalIdentityData, Nullable<LocalizedString>)
Namespace: Microsoft.Exchange.Configuration.Tasks
Assembly: Microsoft.Exchange.Configuration.ObjectModel (in Microsoft.Exchange.Configuration.ObjectModel.dll)
Syntax
'Declaration
Private Function GetObjects(Of T As {New, IConfigurable}) ( _
rootId As ObjectId, _
session As IConfigDataProvider, _
optionalData As OptionalIdentityData, _
<OutAttribute> ByRef notFoundReason As Nullable(Of LocalizedString) _
) As IEnumerable(Of T) Implements IIdentityParameter.GetObjects
'Usage
Dim instance As DatabaseAvailabilityGroupNetworkIdParameter
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 = CType(instance, IIdentityParameter).GetObjects(rootId, _
session, optionalData, notFoundReason)
IEnumerable<T> IIdentityParameter.GetObjects<T>(
ObjectId rootId,
IConfigDataProvider session,
OptionalIdentityData optionalData,
out Nullable<LocalizedString> notFoundReason
)
where T : new(), IConfigurable
Type Parameters
- T
Parameters
- rootId
Type: Microsoft.Exchange.Data.ObjectId
- session
Type: Microsoft.Exchange.Data.IConfigDataProvider
- optionalData
Type: Microsoft.Exchange.Configuration.Tasks.OptionalIdentityData
- notFoundReason
Type: System.Nullable<LocalizedString>