IModelElement.GetRelationship – metoda (ModelRelationshipClass)
Vrátí požadovaná relace pomocí poskytnutého metadat.
Obor názvů: Microsoft.Data.Schema.SchemaModel
Sestavení: Microsoft.Data.Schema (v Microsoft.Data.Schema.dll)
Syntaxe
'Deklarace
Function GetRelationship ( _
relationshipClass As ModelRelationshipClass _
) As IModelRelationship
IModelRelationship GetRelationship(
ModelRelationshipClass relationshipClass
)
IModelRelationship^ GetRelationship(
ModelRelationshipClass^ relationshipClass
)
abstract GetRelationship :
relationshipClass:ModelRelationshipClass -> IModelRelationship
function GetRelationship(
relationshipClass : ModelRelationshipClass
) : IModelRelationship
Parametry
- relationshipClass
Typ: Microsoft.Data.Schema.SchemaModel.ModelRelationshipClass
IModelRelationship Třída metadat
Vrácená hodnota
Typ: Microsoft.Data.Schema.SchemaModel.IModelRelationship
IModelRelationship Objektu.
Zabezpečení rozhraní .NET Framework
- Plná důvěra přímému volajícímu. Částečně zabezpečený kód nemůže tento člen použít. Další informace naleznete v tématu Používání knihoven z částečně důvěryhodného kódu.