Partager via


Méthode TSqlObject.GetReferencing (ModelRelationshipClass)

Gets referencing objects, where the relationship is defined by a specific ModelRelationshipClass and where objects are within the Default scope.

Espace de noms :  Microsoft.SqlServer.Dac.Model
Assembly :  Microsoft.SqlServer.Dac.Extensions (en Microsoft.SqlServer.Dac.Extensions.dll)

Syntaxe

'Déclaration
Public Function GetReferencing ( _
    relationshipType As ModelRelationshipClass _
) As IEnumerable(Of TSqlObject)
'Utilisation
Dim instance As TSqlObject 
Dim relationshipType As ModelRelationshipClass 
Dim returnValue As IEnumerable(Of TSqlObject)

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

Paramètres

Valeur de retour

Type : System.Collections.Generic.IEnumerable<TSqlObject>
TSqlObject referencing this object for a given ModelRelationshipClass.

Voir aussi

Référence

TSqlObject Classe

Surcharge GetReferencing

Espace de noms Microsoft.SqlServer.Dac.Model