: Entity.FindAssociated (Método) (EntityInstanceCollection, 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, _
lobSystemInstance As LobSystemInstance _
) As IEntityInstanceEnumerator
'Uso
Dim instance As Entity
Dim sourceEntityInstances As EntityInstanceCollection
Dim lobSystemInstance As LobSystemInstance
Dim returnValue As IEntityInstanceEnumerator
returnValue = instance.FindAssociated(sourceEntityInstances, lobSystemInstance)
public IEntityInstanceEnumerator FindAssociated (
EntityInstanceCollection sourceEntityInstances,
LobSystemInstance lobSystemInstance
)
Parámetros
- sourceEntityInstances
The collection containing the source entity instances. The collection must contain one instance of each Entity that is a Source in the Association.
- lobSystemInstance
The LobSystemInstance object.
Valor devuelto
An entity instance collection enumerator.
Comentarios
This form of FindAssociated tries to infer which Association to use, by finding all Associations where this Entity is the Destination. If more than one Association is found, this method will throw.
Vea también
Referencia
Entity (Clase)
Entity (Miembros)
Microsoft.Office.Server.ApplicationRegistry.MetadataModel (Espacio de nombres)