다음을 통해 공유


TSqlObject.GetReferenced 메서드 (ModelRelationshipClass)

Gets referenced objects for a given ModelRelationshipClass, where objects are within the Default scope.

네임스페이스:  Microsoft.SqlServer.Dac.Model
어셈블리:  Microsoft.SqlServer.Dac.Extensions(Microsoft.SqlServer.Dac.Extensions.dll)

구문

‘선언
Public Function GetReferenced ( _
    relationshipType As ModelRelationshipClass _
) As IEnumerable(Of TSqlObject)
‘사용 방법
Dim instance As TSqlObject 
Dim relationshipType As ModelRelationshipClass 
Dim returnValue As IEnumerable(Of TSqlObject)

returnValue = instance.GetReferenced(relationshipType)
public IEnumerable<TSqlObject> GetReferenced(
    ModelRelationshipClass relationshipType
)
public:
IEnumerable<TSqlObject^>^ GetReferenced(
    ModelRelationshipClass^ relationshipType
)
member GetReferenced : 
        relationshipType:ModelRelationshipClass -> IEnumerable<TSqlObject> 
public function GetReferenced(
    relationshipType : ModelRelationshipClass
) : IEnumerable<TSqlObject>

매개 변수

반환 값

유형: System.Collections.Generic.IEnumerable<TSqlObject>
TSqlObject referenced by this object for a given ModelRelationshipClass.

주의

References to elements not in the TSqlModel are not returned. Use GetReferencedRelationshipInstances() for a listing of all possible referenced elements.

참고 항목

참조

TSqlObject 클래스

GetReferenced 오버로드

Microsoft.SqlServer.Dac.Model 네임스페이스