Partager via


AbstractEntityInstance.GetAssociatedInstances, méthode (String) (Microsoft.Office.Server.ApplicationRegistry.Runtime)

When overridden in a derived class, gets the associated entity instances for this entity instance for the association specified by the name.

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

Syntaxe

'Déclaration
Public Overridable Function GetAssociatedInstances ( _
    associationName As String _
) As IEntityInstanceEnumerator
'Utilisation
Dim instance As AbstractEntityInstance
Dim associationName As String
Dim returnValue As IEntityInstanceEnumerator

returnValue = instance.GetAssociatedInstances(associationName)
public virtual IEntityInstanceEnumerator GetAssociatedInstances (
    string associationName
)

Paramètres

  • associationName
    A valid Association name for this entity.

Valeur de retour

An IEntityInstanceEnumerator containing the related entity instances for this entity instance.

Remarques

All Business Data Catalog associations are 1 to many. Therefore, what comes back is always a stream of 0 or more entity instances.

Voir aussi

Référence

AbstractEntityInstance, classe
Membres AbstractEntityInstance
Microsoft.Office.Server.ApplicationRegistry.Runtime, espace de noms