共用方式為


TSqlObject.GetReferencedRelationshipInstances Method

Definition

Overloads

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

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

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.

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

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

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.

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 System.Collections.Generic.IEnumerable<Microsoft.SqlServer.Dac.Model.ModelRelationshipInstance> GetReferencedRelationshipInstances (Microsoft.SqlServer.Dac.Model.ModelRelationshipClass relationshipType, Microsoft.SqlServer.Dac.Model.DacExternalQueryScopes queryScopes);
member this.GetReferencedRelationshipInstances : Microsoft.SqlServer.Dac.Model.ModelRelationshipClass * Microsoft.SqlServer.Dac.Model.DacExternalQueryScopes -> seq<Microsoft.SqlServer.Dac.Model.ModelRelationshipInstance>
Public Function GetReferencedRelationshipInstances (relationshipType As ModelRelationshipClass, queryScopes As DacExternalQueryScopes) As IEnumerable(Of ModelRelationshipInstance)

Parameters

relationshipType
ModelRelationshipClass

ModelRelationshipClass defining the relationship class to query for

queryScopes
DacExternalQueryScopes

DacExternalQueryScopes defining the scope objects must exist in.

Returns

ModelRelationshipInstances defining the relationships between this TSqlObject and the objects referenced by it

Remarks

The Object field may be null if the element is not in the TSqlModel. In these cases the ObjectName field can be used to query information about the referenced object

Applies to

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

public System.Collections.Generic.IEnumerable<Microsoft.SqlServer.Dac.Model.ModelRelationshipInstance> GetReferencedRelationshipInstances (Microsoft.SqlServer.Dac.Model.ModelRelationshipClass relationshipType, Microsoft.SqlServer.Dac.Model.DacQueryScopes queryScopes);
member this.GetReferencedRelationshipInstances : Microsoft.SqlServer.Dac.Model.ModelRelationshipClass * Microsoft.SqlServer.Dac.Model.DacQueryScopes -> seq<Microsoft.SqlServer.Dac.Model.ModelRelationshipInstance>
Public Function GetReferencedRelationshipInstances (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 referenced by it

Remarks

The Object field may be null if the element is not in the TSqlModel. In these cases the ObjectName field can be used to query information about the referenced object

Applies to

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 System.Collections.Generic.IEnumerable<Microsoft.SqlServer.Dac.Model.ModelRelationshipInstance> GetReferencedRelationshipInstances (Microsoft.SqlServer.Dac.Model.ModelRelationshipClass relationshipType);
member this.GetReferencedRelationshipInstances : Microsoft.SqlServer.Dac.Model.ModelRelationshipClass -> seq<Microsoft.SqlServer.Dac.Model.ModelRelationshipInstance>
Public Function GetReferencedRelationshipInstances (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 referenced by it

Remarks

The Object field may be null if the element is not in the TSqlModel. In these cases the ObjectName field can be used to query information about the referenced object

Applies to

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 System.Collections.Generic.IEnumerable<Microsoft.SqlServer.Dac.Model.ModelRelationshipInstance> GetReferencedRelationshipInstances (Microsoft.SqlServer.Dac.Model.DacQueryScopes queryScopes);
member this.GetReferencedRelationshipInstances : Microsoft.SqlServer.Dac.Model.DacQueryScopes -> seq<Microsoft.SqlServer.Dac.Model.ModelRelationshipInstance>
Public Function GetReferencedRelationshipInstances (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 referenced by it

Remarks

The Object field may be null if the element is not in the TSqlModel. In these cases the ObjectName field can be used to query information about the referenced object

Applies to

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 System.Collections.Generic.IEnumerable<Microsoft.SqlServer.Dac.Model.ModelRelationshipInstance> GetReferencedRelationshipInstances (Microsoft.SqlServer.Dac.Model.DacExternalQueryScopes queryScopes);
member this.GetReferencedRelationshipInstances : Microsoft.SqlServer.Dac.Model.DacExternalQueryScopes -> seq<Microsoft.SqlServer.Dac.Model.ModelRelationshipInstance>
Public Function GetReferencedRelationshipInstances (queryScopes As DacExternalQueryScopes) As IEnumerable(Of ModelRelationshipInstance)

Parameters

queryScopes
DacExternalQueryScopes

DacExternalQueryScopes defining the scope objects must exist in.

Returns

ModelRelationshipInstances defining the relationships between this TSqlObject and the objects referenced by it

Remarks

The Object field may be null if the element is not in the TSqlModel. In these cases the ObjectName field can be used to query information about the referenced object

Applies to

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 System.Collections.Generic.IEnumerable<Microsoft.SqlServer.Dac.Model.ModelRelationshipInstance> GetReferencedRelationshipInstances ();
member this.GetReferencedRelationshipInstances : unit -> seq<Microsoft.SqlServer.Dac.Model.ModelRelationshipInstance>
Public Function GetReferencedRelationshipInstances () As IEnumerable(Of ModelRelationshipInstance)

Returns

ModelRelationshipInstances defining the relationships between this TSqlObject and the objects referenced by it

Remarks

The Object field may be null if the element is not in the TSqlModel. In these cases the ObjectName field can be used to query information about the referenced object

Applies to