다음을 통해 공유


TSqlObject.GetReferenced 메서드 (DacQueryScopes)

Gets all referenced objects within a given DacQueryScopes scope.

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

구문

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

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

매개 변수

반환 값

유형: System.Collections.Generic.IEnumerable<TSqlObject>
TSqlObject referenced by this object.

주의

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 네임스페이스