: Entity.FindAssociated (Método) (EntityInstanceCollection, Association, FilterCollection, LobSystemInstance) (Microsoft.Office.Server.ApplicationRegistry.MetadataModel)
Gets the entity instances associated with a given entity instance collection.
Espacio de nombres:
Ensamblado: Microsoft.SharePoint.Portal (in microsoft.sharepoint.portal.dll)
Sintaxis
'Declaración
Public Function FindAssociated ( _
sourceEntityInstances As EntityInstanceCollection, _
association As Association, _
filterCollection As FilterCollection, _
lobSystemInstance As LobSystemInstance _
) As IEntityInstanceEnumerator
'Uso
Dim instance As Entity
Dim sourceEntityInstances As EntityInstanceCollection
Dim association As Association
Dim filterCollection As FilterCollection
Dim lobSystemInstance As LobSystemInstance
Dim returnValue As IEntityInstanceEnumerator
returnValue = instance.FindAssociated(sourceEntityInstances, association, filterCollection, lobSystemInstance)
public IEntityInstanceEnumerator FindAssociated (
EntityInstanceCollection sourceEntityInstances,
Association association,
FilterCollection filterCollection,
LobSystemInstance lobSystemInstance
)
Parámetros
- sourceEntityInstances
The collection containing the source entity instances. It must contain one instance of each Entity that is a Source in the Association.
- association
The Association object.
- filterCollection
The FilterCollection object. It must contain the Filters returned by calling the .GetFilters() method on the Association. Each filter returned may have its value set before being used here to return a filtered set of destination Entity Instances.
- lobSystemInstance
The LobSystemInstance object.
Valor devuelto
An entity instance collection enumerator.
Comentarios
This form of FindAssociated explicitly requests which Association to use from the user. This Entity must be a destination in the Association.
Vea también
Referencia
Entity (Clase)
Entity (Miembros)
Microsoft.Office.Server.ApplicationRegistry.MetadataModel (Espacio de nombres)