IEntityInstance.GetAssociatedInstances Method (Association)
Gets the 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 _
) As IEntityInstanceEnumerator
'Usage
Dim instance As IEntityInstance
Dim association As Association
Dim returnValue As IEntityInstanceEnumerator
returnValue = instance.GetAssociatedInstances(association)
IEntityInstanceEnumerator GetAssociatedInstances(
Association association
)
Parameters
- association
Type: Microsoft.Office.Server.ApplicationRegistry.MetadataModel.Association
A valid Association object for this entity.
Return Value
Type: Microsoft.Office.Server.ApplicationRegistry.Runtime.IEntityInstanceEnumerator
An IEntityInstanceEnumerator object containing the related entity instances for this entity instance.
See Also
Reference
GetAssociatedInstances Overload
Microsoft.Office.Server.ApplicationRegistry.Runtime Namespace