Share via


TSqlObject.GetReferencedRelationshipInstances Method

Include Protected Members
Include Inherited Members

Returns the ModelRelationshipInstance defining the relationship data.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

Overload List

  Name Description
Public method GetReferencedRelationshipInstances() For each object referenced by this TSqlObject, returns the ModelRelationshipInstance defining the relationship data. This will include the referenced object if it exists, the ObjectIdentifier used to identify the referenced object, and any properties specific to this relationship. Only objects within the Default scope will be returned.
Public method GetReferencedRelationshipInstances(DacExternalQueryScopes) For each object referenced by this TSqlObject, returns the ModelRelationshipInstance defining the relationship data. This will include the referenced object if it exists, the ObjectIdentifier used to identify the referenced object, and any properties specific to this relationship. Only objects within the specified DacQueryScopes scope will be returned. To return non-composite or system references the scope must be set to include externals. In addition, in this case only the ObjectIdentifier of the referenced object will be returned.
Public method GetReferencedRelationshipInstances(DacQueryScopes) For each object referenced by this TSqlObject, returns the ModelRelationshipInstance defining the relationship data. This will include the referenced object if it exists, the ObjectIdentifier used to identify the referenced object, and any properties specific to this relationship. Only objects within the specified DacQueryScopes scope will be returned. To return non-composite or system references the GetReferencedRelationshipInstances(DacExternalQueryScopes) method should be called instead.
Public method GetReferencedRelationshipInstances(ModelRelationshipClass) For objects referenced by this TSqlObject with a specific ModelRelationshipClass, returns the ModelRelationshipInstance defining the relationship data. This will include the referenced object if it exists, the ObjectIdentifier used to identify the referenced object, and any properties specific to this relationship. Only objects within the Default scope will be returned.
Public method GetReferencedRelationshipInstances(ModelRelationshipClass, DacExternalQueryScopes) For objects referenced by this TSqlObject with a specific ModelRelationshipClass, returns the ModelRelationshipInstance defining the relationship data. This will include the referenced object if it exists, the ObjectIdentifier used to identify the referenced object, and any properties specific to this relationship. Only objects within the specified DacExternalQueryScopes scope will be returned. To return non-composite or system references the scope must be set to include externals. In addition, in this case only the ObjectIdentifier of the referenced object will be returned.
Public method GetReferencedRelationshipInstances(ModelRelationshipClass, DacQueryScopes) For objects referenced by this TSqlObject with a specific ModelRelationshipClass, returns the ModelRelationshipInstance defining the relationship data. This will include the referenced object if it exists, the ObjectIdentifier used to identify the referenced object, and any properties specific to this relationship. Only objects within the specified DacQueryScopes scope will be returned. To return non-composite or system references the GetReferencedRelationshipInstances(DacExternalQueryScopes) method should be called instead.

Top

See Also

Reference

TSqlObject Class

Microsoft.SqlServer.Dac.Model Namespace