TSqlObject.GetReferencing 方法

定义

重载

名称 说明
GetReferencing()

获取范围内的所有引用对象Default

GetReferencing(DacQueryScopes)

获取给定 DacQueryScopes 范围内的所有引用对象。

GetReferencing(ModelRelationshipClass)

获取引用对象,其中关系由特定 ModelRelationshipClass 对象定义,以及对象在作用域内 Default 的位置

GetReferencing(ModelRelationshipClass, DacQueryScopes)

获取引用对象,其中关系由特定 ModelRelationshipClass 对象定义,对象位于给定 DacQueryScopes 范围内。

GetReferencing()

获取范围内的所有引用对象Default

public System.Collections.Generic.IEnumerable<Microsoft.SqlServer.Dac.Model.TSqlObject> GetReferencing();
member this.GetReferencing : unit -> seq<Microsoft.SqlServer.Dac.Model.TSqlObject>
Public Function GetReferencing () As IEnumerable(Of TSqlObject)

返回

TSqlObject引用此对象

适用于

GetReferencing(DacQueryScopes)

获取给定 DacQueryScopes 范围内的所有引用对象。

public System.Collections.Generic.IEnumerable<Microsoft.SqlServer.Dac.Model.TSqlObject> GetReferencing(Microsoft.SqlServer.Dac.Model.DacQueryScopes queryScopes);
member this.GetReferencing : Microsoft.SqlServer.Dac.Model.DacQueryScopes -> seq<Microsoft.SqlServer.Dac.Model.TSqlObject>
Public Function GetReferencing (queryScopes As DacQueryScopes) As IEnumerable(Of TSqlObject)

参数

queryScopes
DacQueryScopes

DacQueryScopes 定义范围对象必须存在于该范围中。

返回

TSqlObject引用此对象

适用于

GetReferencing(ModelRelationshipClass)

获取引用对象,其中关系由特定 ModelRelationshipClass 对象定义,以及对象在作用域内 Default 的位置

public System.Collections.Generic.IEnumerable<Microsoft.SqlServer.Dac.Model.TSqlObject> GetReferencing(Microsoft.SqlServer.Dac.Model.ModelRelationshipClass relationshipType);
member this.GetReferencing : Microsoft.SqlServer.Dac.Model.ModelRelationshipClass -> seq<Microsoft.SqlServer.Dac.Model.TSqlObject>
Public Function GetReferencing (relationshipType As ModelRelationshipClass) As IEnumerable(Of TSqlObject)

参数

relationshipType
ModelRelationshipClass

ModelRelationshipClass 定义要查询的关系类

返回

TSqlObject为给定对象引用此对象 ModelRelationshipClass

适用于

GetReferencing(ModelRelationshipClass, DacQueryScopes)

获取引用对象,其中关系由特定 ModelRelationshipClass 对象定义,对象位于给定 DacQueryScopes 范围内。

public System.Collections.Generic.IEnumerable<Microsoft.SqlServer.Dac.Model.TSqlObject> GetReferencing(Microsoft.SqlServer.Dac.Model.ModelRelationshipClass relationshipType, Microsoft.SqlServer.Dac.Model.DacQueryScopes queryScopes);
member this.GetReferencing : Microsoft.SqlServer.Dac.Model.ModelRelationshipClass * Microsoft.SqlServer.Dac.Model.DacQueryScopes -> seq<Microsoft.SqlServer.Dac.Model.TSqlObject>
Public Function GetReferencing (relationshipType As ModelRelationshipClass, queryScopes As DacQueryScopes) As IEnumerable(Of TSqlObject)

参数

relationshipType
ModelRelationshipClass

ModelRelationshipClass 定义要查询的关系

queryScopes
DacQueryScopes

DacQueryScopes 定义范围对象必须存在于该范围中。

返回

TSqlObject为给定对象引用此对象 ModelRelationshipClass

适用于