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>
매개 변수
- relationshipType
유형: Microsoft.SqlServer.Dac.Model.ModelRelationshipClass
ModelRelationshipClass defining the relationship to query for.
- queryScopes
유형: Microsoft.SqlServer.Dac.Model.DacQueryScopes
DacQueryScopes defining the scope objects must exist in.
반환 값
유형: System.Collections.Generic.IEnumerable<TSqlObject>
TSqlObject referencing this object for a given ModelRelationshipClass.