IEntityInstance.GetAssociatedInstances 方法 (String) (Microsoft.Office.Server.ApplicationRegistry.Runtime)

Gets the associated entity instances for this entity instance for the association specified by the name.

命名空间: Microsoft.Office.Server.ApplicationRegistry.Runtime
程序集: Microsoft.SharePoint.Portal (在 microsoft.sharepoint.portal.dll 中)

语法

声明
Function GetAssociatedInstances ( _
    associationName As String _
) As IEntityInstanceEnumerator
用法
Dim instance As IEntityInstance
Dim associationName As String
Dim returnValue As IEntityInstanceEnumerator

returnValue = instance.GetAssociatedInstances(associationName)
IEntityInstanceEnumerator GetAssociatedInstances (
    string associationName
)

参数

  • associationName
    A valid association name for this entity.

返回值

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

另请参阅

参考

IEntityInstance 接口
IEntityInstance 成员
Microsoft.Office.Server.ApplicationRegistry.Runtime 命名空间