Compartir a través de


: AbstractEntityInstance.GetAssociatedInstances (Método) (Association) (Microsoft.Office.Server.ApplicationRegistry.Runtime)

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

Espacio de nombres:
Ensamblado: Microsoft.SharePoint.Portal (in microsoft.sharepoint.portal.dll)

Sintaxis

'Declaración
Public Overridable Function GetAssociatedInstances ( _
    association As Association _
) As IEntityInstanceEnumerator
'Uso
Dim instance As AbstractEntityInstance
Dim association As Association
Dim returnValue As IEntityInstanceEnumerator

returnValue = instance.GetAssociatedInstances(association)
public virtual IEntityInstanceEnumerator GetAssociatedInstances (
    Association association
)

Parámetros

  • association
    A valid Association object for this entity instance.

Valor devuelto

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

Comentarios

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

Vea también

Referencia

AbstractEntityInstance (Clase)
AbstractEntityInstance (Miembros)
Microsoft.Office.Server.ApplicationRegistry.Runtime (Espacio de nombres)