TSqlObject.GetReferenced TSqlObject.GetReferenced TSqlObject.GetReferenced Method

Definition

Overloads

GetReferenced() GetReferenced() GetReferenced()

Gets all referenced objects within the Default scope

GetReferenced(DacQueryScopes) GetReferenced(DacQueryScopes) GetReferenced(DacQueryScopes)

Gets all referenced objects within a given DacQueryScopes scope.

GetReferenced(ModelRelationshipClass) GetReferenced(ModelRelationshipClass) GetReferenced(ModelRelationshipClass)

Gets referenced objects for a given ModelRelationshipClass, where objects are within the Default scope

GetReferenced(ModelRelationshipClass, DacQueryScopes) GetReferenced(ModelRelationshipClass, DacQueryScopes) GetReferenced(ModelRelationshipClass, DacQueryScopes)

Gets referenced objects for a given ModelRelationshipClass, where objects are within a given DacQueryScopes scope.

GetReferenced() GetReferenced() GetReferenced()

Gets all referenced objects within the Default scope

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

Returns

TSqlObjects referenced by this object

Remarks

References to elements not in the TSqlModel are not returned. Use GetReferencedRelationshipInstances() for a listing of all possible referenced elements.

GetReferenced(DacQueryScopes) GetReferenced(DacQueryScopes) GetReferenced(DacQueryScopes)

Gets all referenced objects within a given DacQueryScopes scope.

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

Parameters

queryScopes
DacQueryScopes DacQueryScopes DacQueryScopes

DacQueryScopes defining the scope objects must exist in.

Returns

TSqlObjects referenced by this object

Remarks

References to elements not in the TSqlModel are not returned. Use GetReferencedRelationshipInstances() for a listing of all possible referenced elements.

GetReferenced(ModelRelationshipClass) GetReferenced(ModelRelationshipClass) GetReferenced(ModelRelationshipClass)

Gets referenced objects for a given ModelRelationshipClass, where objects are within the Default scope

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

Parameters

relationshipType
ModelRelationshipClass ModelRelationshipClass ModelRelationshipClass

ModelRelationshipClass defining the relationship class to query for

Returns

TSqlObjects referenced by this object for a given ModelRelationshipClass

Remarks

References to elements not in the TSqlModel are not returned. Use GetReferencedRelationshipInstances() for a listing of all possible referenced elements.

GetReferenced(ModelRelationshipClass, DacQueryScopes) GetReferenced(ModelRelationshipClass, DacQueryScopes) GetReferenced(ModelRelationshipClass, DacQueryScopes)

Gets referenced objects for a given ModelRelationshipClass, where objects are within a given DacQueryScopes scope.

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

Parameters

relationshipType
ModelRelationshipClass ModelRelationshipClass ModelRelationshipClass

ModelRelationshipClass defining the relationship to query for

queryScopes
DacQueryScopes DacQueryScopes DacQueryScopes

DacQueryScopes defining the scope objects must exist in.

Returns

TSqlObjects referenced by this object for a given ModelRelationshipClass

Remarks

References to elements not in the TSqlModel are not returned. Use GetReferencedRelationshipInstances() for a listing of all possible referenced elements.

Applies to