返回关系项的关系项源的列表。
命名空间:  Microsoft.Data.Schema.SchemaModel
程序集:  Microsoft.Data.Schema(在 Microsoft.Data.Schema.dll 中)
语法
声明
Public Function GetRelationshipEntrySources ( _
    relationshipEntry As IModelRelationshipEntry _
) As ICollection(Of ISourceInformation)
public ICollection<ISourceInformation> GetRelationshipEntrySources(
    IModelRelationshipEntry relationshipEntry
)
public:
virtual ICollection<ISourceInformation^>^ GetRelationshipEntrySources(
    IModelRelationshipEntry^ relationshipEntry
) sealed
abstract GetRelationshipEntrySources : 
        relationshipEntry:IModelRelationshipEntry -> ICollection<ISourceInformation> 
override GetRelationshipEntrySources : 
        relationshipEntry:IModelRelationshipEntry -> ICollection<ISourceInformation> 
public final function GetRelationshipEntrySources(
    relationshipEntry : IModelRelationshipEntry
) : ICollection<ISourceInformation>
参数
- relationshipEntry
 类型:Microsoft.Data.Schema.SchemaModel.IModelRelationshipEntry
 一个 IModelRelationshipEntry 对象。
返回值
类型:System.Collections.Generic.ICollection<ISourceInformation>
实现
IScriptSourcedModelElement.GetRelationshipEntrySources(IModelRelationshipEntry)
异常
| 异常 | 条件 | 
|---|---|
| ArgumentException | 此元素不同于关系中的 FromElement。 | 
.NET Framework 安全性
- 对直接调用方的完全信任。此成员不能由部分信任的代码使用。有关更多信息,请参见通过部分受信任的代码使用库。
请参见
参考
DataSchemaModel.ScriptSourcedModelElement 类