IEntityInstance.GetAssociatedInstances Method (String)
NOTE: This API is now obsolete.
Gets the associated entity instances for this entity instance for the association specified by the name.
Namespace: Microsoft.Office.Server.ApplicationRegistry.Runtime
Assembly: Microsoft.SharePoint.Portal (in Microsoft.SharePoint.Portal.dll)
Syntax
'Declaration
<ObsoleteAttribute("O12 Application Registry API is deprecated. Please use BusinessData.", _
False)> _
Function GetAssociatedInstances ( _
associationName As String _
) As IEntityInstanceEnumerator
'Usage
Dim instance As IEntityInstance
Dim associationName As String
Dim returnValue As IEntityInstanceEnumerator
returnValue = instance.GetAssociatedInstances(associationName)
[ObsoleteAttribute("O12 Application Registry API is deprecated. Please use BusinessData.",
false)]
IEntityInstanceEnumerator GetAssociatedInstances(
string associationName
)
Parameters
associationName
Type: System.StringA valid association name for this entity.
Return Value
Type: Microsoft.Office.Server.ApplicationRegistry.Runtime.IEntityInstanceEnumerator
An IEntityInstanceEnumerator object containing the related entity instances for this entity instance.
See Also
Reference
GetAssociatedInstances Overload
Microsoft.Office.Server.ApplicationRegistry.Runtime Namespace