DataSchemaModel.ScriptSourcedModelElement.GetRelationshipEntrySources Method
Returns a list of relationship entry sources for a relationship entry.
Namespace: Microsoft.Data.Schema.SchemaModel
Assembly: Microsoft.Data.Schema (in Microsoft.Data.Schema.dll)
Syntax
'Declaration
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>
Parameters
- relationshipEntry
Type: Microsoft.Data.Schema.SchemaModel.IModelRelationshipEntry
An IModelRelationshipEntry object.
Return Value
Type: System.Collections.Generic.ICollection<ISourceInformation>
Implements
IScriptSourcedModelElement.GetRelationshipEntrySources(IModelRelationshipEntry)
Exceptions
Exception | Condition |
---|---|
ArgumentException | This element differs from the FromElement in the relationship. |
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
DataSchemaModel.ScriptSourcedModelElement Class