共用方式為


TSqlObject.GetReferencing 方法 (ModelRelationshipClass, DacQueryScopes)

Gets referencing objects, where the relationship is defined by a specific ModelRelationshipClass and where objects are within a given DacQueryScopes scope.

命名空間:  Microsoft.SqlServer.Dac.Model
組件:  Microsoft.SqlServer.Dac.Extensions (在 Microsoft.SqlServer.Dac.Extensions.dll 中)

語法

'宣告
Public Function GetReferencing ( _
    relationshipType As ModelRelationshipClass, _
    queryScopes As DacQueryScopes _
) As IEnumerable(Of TSqlObject)
'用途
Dim instance As TSqlObject 
Dim relationshipType As ModelRelationshipClass 
Dim queryScopes As DacQueryScopes 
Dim returnValue As IEnumerable(Of TSqlObject)

returnValue = instance.GetReferencing(relationshipType, _
    queryScopes)
public IEnumerable<TSqlObject> GetReferencing(
    ModelRelationshipClass relationshipType,
    DacQueryScopes queryScopes
)
public:
IEnumerable<TSqlObject^>^ GetReferencing(
    ModelRelationshipClass^ relationshipType, 
    DacQueryScopes queryScopes
)
member GetReferencing : 
        relationshipType:ModelRelationshipClass * 
        queryScopes:DacQueryScopes -> IEnumerable<TSqlObject> 
public function GetReferencing(
    relationshipType : ModelRelationshipClass, 
    queryScopes : DacQueryScopes
) : IEnumerable<TSqlObject>

參數

傳回值

型別:System.Collections.Generic.IEnumerable<TSqlObject>
TSqlObject referencing this object for a given ModelRelationshipClass.

請參閱

參考

TSqlObject 類別

GetReferencing 多載

Microsoft.SqlServer.Dac.Model 命名空間