Метод 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