IModelElement.GetRelationship 方法 (ModelRelationshipClass)

使用提供的元数据返回所请求的关系。

命名空间:  Microsoft.Data.Schema.SchemaModel
程序集:  Microsoft.Data.Schema(在 Microsoft.Data.Schema.dll 中)

语法

声明
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

参数

返回值

类型:Microsoft.Data.Schema.SchemaModel.IModelRelationship
一个 IModelRelationship 对象。

.NET Framework 安全性

请参见

参考

IModelElement 接口

GetRelationship 重载

Microsoft.Data.Schema.SchemaModel 命名空间

IModelRelationship