: AbstractEntityInstance.GetAssociatedInstances (Método) (Association, FilterCollection) (Microsoft.Office.Server.ApplicationRegistry.Runtime)
When overridden in a derived class, gets a filtered set of 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, _
filters As FilterCollection _
) As IEntityInstanceEnumerator
'Uso
Dim instance As AbstractEntityInstance
Dim association As Association
Dim filters As FilterCollection
Dim returnValue As IEntityInstanceEnumerator
returnValue = instance.GetAssociatedInstances(association, filters)
public virtual IEntityInstanceEnumerator GetAssociatedInstances (
Association association,
FilterCollection filters
)
Parámetros
- association
A valid Association object for this entity.
- filters
A valid FilterDescriptionCollection object with the filters to apply to the result set of the association method.
Valor devuelto
An IEntityInstanceEnumerator containing the filtered 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, and this can be optionally filtered.
Vea también
Referencia
AbstractEntityInstance (Clase)
AbstractEntityInstance (Miembros)
Microsoft.Office.Server.ApplicationRegistry.Runtime (Espacio de nombres)