Partilhar via


Método IModelElement.GetRelationship (ModelRelationshipClass)

Retorna a relação solicitada usando os metadados fornecidos.

Namespace:  Microsoft.Data.Schema.SchemaModel
Assembly:  Microsoft.Data.Schema (em Microsoft.Data.Schema.dll)

Sintaxe

'Declaração
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

Parâmetros

Valor de retorno

Tipo: Microsoft.Data.Schema.SchemaModel.IModelRelationship
Um objeto IModelRelationship.

Segurança do .NET Framework

Consulte também

Referência

IModelElement Interface

Sobrecargas GetRelationship

Namespace Microsoft.Data.Schema.SchemaModel

IModelRelationship