: AbstractEntityInstance.GetAssociatedInstances (Método) (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.
Espacio de nombres:
Ensamblado: Microsoft.SharePoint.Portal (in microsoft.sharepoint.portal.dll)
Sintaxis
'Declaración
Public Overridable Function GetAssociatedInstances ( _
associationName As String _
) As IEntityInstanceEnumerator
'Uso
Dim instance As AbstractEntityInstance
Dim associationName As String
Dim returnValue As IEntityInstanceEnumerator
returnValue = instance.GetAssociatedInstances(associationName)
public virtual IEntityInstanceEnumerator GetAssociatedInstances (
string associationName
)
Parámetros
- associationName
A valid Association name for this entity.
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)