Share via


TSqlObject.GetReferencing Method

Definition

Overloads

GetReferencing()

Gets all referencing objects within the Default scope

GetReferencing(DacQueryScopes)

Gets all referencing objects within a given DacQueryScopes scope.

GetReferencing(ModelRelationshipClass)

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

GetReferencing(ModelRelationshipClass, DacQueryScopes)

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

GetReferencing()

Gets all referencing objects within the Default scope

public System.Collections.Generic.IEnumerable<Microsoft.SqlServer.Dac.Model.TSqlObject> GetReferencing ();
member this.GetReferencing : unit -> seq<Microsoft.SqlServer.Dac.Model.TSqlObject>
Public Function GetReferencing () As IEnumerable(Of TSqlObject)

Returns

TSqlObjects referencing this object

Applies to

GetReferencing(DacQueryScopes)

Gets all referencing objects within a given DacQueryScopes scope.

public System.Collections.Generic.IEnumerable<Microsoft.SqlServer.Dac.Model.TSqlObject> GetReferencing (Microsoft.SqlServer.Dac.Model.DacQueryScopes queryScopes);
member this.GetReferencing : Microsoft.SqlServer.Dac.Model.DacQueryScopes -> seq<Microsoft.SqlServer.Dac.Model.TSqlObject>
Public Function GetReferencing (queryScopes As DacQueryScopes) As IEnumerable(Of TSqlObject)

Parameters

queryScopes
DacQueryScopes

DacQueryScopes defining the scope objects must exist in.

Returns

TSqlObjects referencing this object

Applies to

GetReferencing(ModelRelationshipClass)

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

public System.Collections.Generic.IEnumerable<Microsoft.SqlServer.Dac.Model.TSqlObject> GetReferencing (Microsoft.SqlServer.Dac.Model.ModelRelationshipClass relationshipType);
member this.GetReferencing : Microsoft.SqlServer.Dac.Model.ModelRelationshipClass -> seq<Microsoft.SqlServer.Dac.Model.TSqlObject>
Public Function GetReferencing (relationshipType As ModelRelationshipClass) As IEnumerable(Of TSqlObject)

Parameters

relationshipType
ModelRelationshipClass

ModelRelationshipClass defining the relationship class to query for

Returns

TSqlObjects referencing this object for a given ModelRelationshipClass

Applies to

GetReferencing(ModelRelationshipClass, DacQueryScopes)

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

public System.Collections.Generic.IEnumerable<Microsoft.SqlServer.Dac.Model.TSqlObject> GetReferencing (Microsoft.SqlServer.Dac.Model.ModelRelationshipClass relationshipType, Microsoft.SqlServer.Dac.Model.DacQueryScopes queryScopes);
member this.GetReferencing : Microsoft.SqlServer.Dac.Model.ModelRelationshipClass * Microsoft.SqlServer.Dac.Model.DacQueryScopes -> seq<Microsoft.SqlServer.Dac.Model.TSqlObject>
Public Function GetReferencing (relationshipType As ModelRelationshipClass, queryScopes As DacQueryScopes) As IEnumerable(Of TSqlObject)

Parameters

relationshipType
ModelRelationshipClass

ModelRelationshipClass defining the relationship to query for

queryScopes
DacQueryScopes

DacQueryScopes defining the scope objects must exist in.

Returns

TSqlObjects referencing this object for a given ModelRelationshipClass

Applies to