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>
參數
- relationshipEntry
型別:Microsoft.Data.Schema.SchemaModel.IModelRelationshipEntry
IModelRelationshipEntry 物件。
傳回值
型別:System.Collections.Generic.ICollection<ISourceInformation>
實作
IScriptSourcedModelElement.GetRelationshipEntrySources(IModelRelationshipEntry)
例外狀況
例外狀況 | 條件 |
---|---|
ArgumentException | 這個項目與關聯性中的 FromElement 不同。 |
.NET Framework 安全性
- 完全信任立即呼叫者。這個成員無法供部分信任的程式碼使用。如需詳細資訊,請參閱從部分受信任程式碼使用程式庫。
請參閱
參考
DataSchemaModel.ScriptSourcedModelElement 類別