Partilhar via


Método TSqlObject.GetReferenced

Gets all referenced objects within the Default scope.

Namespace:  Microsoft.SqlServer.Dac.Model
Assembly:  Microsoft.SqlServer.Dac.Extensions (em Microsoft.SqlServer.Dac.Extensions.dll)

Sintaxe

'Declaração
Public Function GetReferenced As IEnumerable(Of TSqlObject)
'Uso
Dim instance As TSqlObject 
Dim returnValue As IEnumerable(Of TSqlObject)

returnValue = instance.GetReferenced()
public IEnumerable<TSqlObject> GetReferenced()
public:
IEnumerable<TSqlObject^>^ GetReferenced()
member GetReferenced : unit -> IEnumerable<TSqlObject> 
public function GetReferenced() : IEnumerable<TSqlObject>

Valor de retorno

Tipo: System.Collections.Generic.IEnumerable<TSqlObject>
TSqlObject referenced by this object.

Comentários

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

Consulte também

Referência

TSqlObject Classe

Sobrecarregado GetReferenced

Namespace Microsoft.SqlServer.Dac.Model