TSqlObject.GetReferenced-Methode (ModelRelationshipClass)
Gets referenced objects for a given ModelRelationshipClass, where objects are within the Default scope.
Namespace: Microsoft.SqlServer.Dac.Model
Assembly: Microsoft.SqlServer.Dac.Extensions (in Microsoft.SqlServer.Dac.Extensions.dll)
Syntax
'Declaration
Public Function GetReferenced ( _
relationshipType As ModelRelationshipClass _
) As IEnumerable(Of TSqlObject)
'Usage
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>
Parameter
- relationshipType
Typ: Microsoft.SqlServer.Dac.Model.ModelRelationshipClass
ModelRelationshipClass defining the relationship class to query for.
Rückgabewert
Typ: System.Collections.Generic.IEnumerable<TSqlObject>
TSqlObject referenced by this object for a given ModelRelationshipClass.
Hinweise
References to elements not in the TSqlModel are not returned. Use GetReferencedRelationshipInstances() for a listing of all possible referenced elements.