Entity.FindAssociated 方法 (EntityInstanceCollection, Association, LobSystemInstance) (Microsoft.Office.Server.ApplicationRegistry.MetadataModel)
Gets the entity instances associated with a given entity instance collection.
命名空间: Microsoft.Office.Server.ApplicationRegistry.MetadataModel
程序集: Microsoft.SharePoint.Portal (在 microsoft.sharepoint.portal.dll 中)
语法
声明
Public Function FindAssociated ( _
sourceEntityInstances As EntityInstanceCollection, _
association As Association, _
lobSystemInstance As LobSystemInstance _
) As IEntityInstanceEnumerator
用法
Dim instance As Entity
Dim sourceEntityInstances As EntityInstanceCollection
Dim association As Association
Dim lobSystemInstance As LobSystemInstance
Dim returnValue As IEntityInstanceEnumerator
returnValue = instance.FindAssociated(sourceEntityInstances, association, lobSystemInstance)
public IEntityInstanceEnumerator FindAssociated (
EntityInstanceCollection sourceEntityInstances,
Association association,
LobSystemInstance lobSystemInstance
)
参数
- sourceEntityInstances
The collection containing the source entity instances. The collection must contain one instance of each Entity that is a Source in the Association.
- association
The Association object.
- lobSystemInstance
The LobSystemInstance object.
返回值
An entity instance collection enumerator.
备注
This form of FindAssociated explicitly requests which Association to use from the user. This Entity must be a destination in the Association.
另请参阅
参考
Entity 类
Entity 成员
Microsoft.Office.Server.ApplicationRegistry.MetadataModel 命名空间