DataSchemaModel.ScriptSourcedModelElement.GetRelationshipEntrySources 方法

返回关系项的关系项源的列表。

命名空间:  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>

参数

返回值

类型:System.Collections.Generic.ICollection<ISourceInformation>

实现

IScriptSourcedModelElement.GetRelationshipEntrySources(IModelRelationshipEntry)

异常

异常 条件
ArgumentException

此元素不同于关系中的 FromElement

.NET Framework 安全性

请参见

参考

DataSchemaModel.ScriptSourcedModelElement 类

Microsoft.Data.Schema.SchemaModel 命名空间

IModelRelationshipEntry