Condividi tramite


Metodo IModelElement.GetRelationship (ModelRelationshipClass)

Restituisce la relazione richiesta utilizzando i metadati specificati.

Spazio dei nomi:  Microsoft.Data.Schema.SchemaModel
Assembly:  Microsoft.Data.Schema (in Microsoft.Data.Schema.dll)

Sintassi

'Dichiarazione
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

Parametri

Valore restituito

Tipo: Microsoft.Data.Schema.SchemaModel.IModelRelationship
Oggetto IModelRelationship.

Sicurezza di .NET Framework

Vedere anche

Riferimenti

IModelElement Interfaccia

Overload GetRelationship

Spazio dei nomi Microsoft.Data.Schema.SchemaModel

IModelRelationship