Partager via


Entity.FindAssociated, méthode (EntityInstanceCollection, Association, LobSystemInstance) (Microsoft.Office.Server.ApplicationRegistry.MetadataModel)

Gets the entity instances associated with a given entity instance collection.

Espace de noms : Microsoft.Office.Server.ApplicationRegistry.MetadataModel
Assembly : Microsoft.SharePoint.Portal (dans microsoft.sharepoint.portal.dll)

Syntaxe

'Déclaration
Public Function FindAssociated ( _
    sourceEntityInstances As EntityInstanceCollection, _
    association As Association, _
    lobSystemInstance As LobSystemInstance _
) As IEntityInstanceEnumerator
'Utilisation
Dim instance As Entity
Dim sourceEntityInstances As EntityInstanceCollection
Dim association As Association
Dim lobSystemInstance As LobSystemInstance
Dim returnValue As IEntityInstanceEnumerator

returnValue = instance.FindAssociated(sourceEntityInstances, association, lobSystemInstance)
public IEntityInstanceEnumerator FindAssociated (
    EntityInstanceCollection sourceEntityInstances,
    Association association,
    LobSystemInstance lobSystemInstance
)

Paramètres

  • sourceEntityInstances
    The collection containing the source entity instances. The collection must contain one instance of each Entity that is a Source in the Association.

Valeur de retour

An entity instance collection enumerator.

Remarques

This form of FindAssociated explicitly requests which Association to use from the user. This Entity must be a destination in the Association.

Voir aussi

Référence

Entity, classe
Membres Entity
Microsoft.Office.Server.ApplicationRegistry.MetadataModel, espace de noms