共用方式為


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