Condividi tramite


TSqlObject.GetReferencingRelationshipInstances Method

Definition

Overloads

GetReferencingRelationshipInstances(ModelRelationshipClass, DacQueryScopes)

For each object referencing this TSqlObject with a specific ModelRelationshipClass, returns the ModelRelationshipInstance defining the relationship data. This will include the referencing object - definedby the FromObject field, and any properties specific to this relationship. Only objects within the specified DacQueryScopes scope will be returned.

GetReferencingRelationshipInstances(ModelRelationshipClass)

For each object referencing this TSqlObject with a specific ModelRelationshipClass, returns the ModelRelationshipInstance defining the relationship data. This will include the referencing object - definedby the FromObject field, and any properties specific to this relationship. Only objects within the Default scope will be returned.

GetReferencingRelationshipInstances()

For each object referencing this TSqlObject, returns the ModelRelationshipInstance defining the relationship data. This will include the referencing object - definedby the FromObject field, and any properties specific to this relationship. Only objects within the specified DacQueryScopes scope will be returned.

GetReferencingRelationshipInstances(DacQueryScopes)

For each object referencing this TSqlObject, returns the ModelRelationshipInstance defining the relationship data. This will include the referencing object - definedby the FromObject field, and any properties specific to this relationship. Only objects within the Default scope will be returned.

GetReferencingRelationshipInstances(ModelRelationshipClass, DacQueryScopes)

For each object referencing this TSqlObject with a specific ModelRelationshipClass, returns the ModelRelationshipInstance defining the relationship data. This will include the referencing object - definedby the FromObject field, and any properties specific to this relationship. Only objects within the specified DacQueryScopes scope will be returned.

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

Parameters

relationshipType
ModelRelationshipClass

ModelRelationshipClass defining the relationship class to query for

queryScopes
DacQueryScopes

DacQueryScopes defining the scope objects must exist in.

Returns

ModelRelationshipInstances defining the relationships between this TSqlObject and the objects referencing it

Applies to

GetReferencingRelationshipInstances(ModelRelationshipClass)

For each object referencing this TSqlObject with a specific ModelRelationshipClass, returns the ModelRelationshipInstance defining the relationship data. This will include the referencing object - definedby the FromObject field, and any properties specific to this relationship. Only objects within the Default scope will be returned.

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

Parameters

relationshipType
ModelRelationshipClass

ModelRelationshipClass defining the relationship class to query for

Returns

ModelRelationshipInstances defining the relationships between this TSqlObject and the objects referencing it

Applies to

GetReferencingRelationshipInstances()

For each object referencing this TSqlObject, returns the ModelRelationshipInstance defining the relationship data. This will include the referencing object - definedby the FromObject field, and any properties specific to this relationship. Only objects within the specified DacQueryScopes scope will be returned.

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

Returns

ModelRelationshipInstances defining the relationships between this TSqlObject and the objects referencing it

Applies to

GetReferencingRelationshipInstances(DacQueryScopes)

For each object referencing this TSqlObject, returns the ModelRelationshipInstance defining the relationship data. This will include the referencing object - definedby the FromObject field, and any properties specific to this relationship. Only objects within the Default scope will be returned.

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

Parameters

queryScopes
DacQueryScopes

DacQueryScopes defining the scope objects must exist in.

Returns

ModelRelationshipInstances defining the relationships between this TSqlObject and the objects referencing it

Applies to