IEntityInstance.GetAssociatedInstances Method (Association, FilterCollection)
Gets a filtered set of associated entity instances for this entity instance for the specified association.
Namespace: Microsoft.Office.Server.ApplicationRegistry.Runtime
Assembly: Microsoft.SharePoint.Portal (in Microsoft.SharePoint.Portal.dll)
Syntax
'Declaration
Function GetAssociatedInstances ( _
association As Association, _
filters As FilterCollection _
) As IEntityInstanceEnumerator
'Usage
Dim instance As IEntityInstance
Dim association As Association
Dim filters As FilterCollection
Dim returnValue As IEntityInstanceEnumerator
returnValue = instance.GetAssociatedInstances(association, _
filters)
IEntityInstanceEnumerator GetAssociatedInstances(
Association association,
FilterCollection filters
)
Parameters
- association
Type: Microsoft.Office.Server.ApplicationRegistry.MetadataModel.Association
A valid Association object for this entity.
- filters
Type: Microsoft.Office.Server.ApplicationRegistry.Runtime.FilterCollection
A valid FilterCollection object with the filters to apply to the result set of the association method.
Return Value
Type: Microsoft.Office.Server.ApplicationRegistry.Runtime.IEntityInstanceEnumerator
An IEntityInstanceEnumerator object containing the filtered related entity instances for this entity instance.
See Also
Reference
GetAssociatedInstances Overload
Microsoft.Office.Server.ApplicationRegistry.Runtime Namespace