Partilhar via


Método TSqlObject.GetParent (DacQueryScopes)

Returns the parent TSqlObject, if it is within the specified DacQueryScopes scope and if there is only one TSqlObject that could be the parent for this object.

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

Sintaxe

'Declaração
Public Function GetParent ( _
    queryScopes As DacQueryScopes _
) As TSqlObject
'Uso
Dim instance As TSqlObject 
Dim queryScopes As DacQueryScopes 
Dim returnValue As TSqlObject 

returnValue = instance.GetParent(queryScopes)
public TSqlObject GetParent(
    DacQueryScopes queryScopes
)
public:
TSqlObject^ GetParent(
    DacQueryScopes queryScopes
)
member GetParent : 
        queryScopes:DacQueryScopes -> TSqlObject
public function GetParent(
    queryScopes : DacQueryScopes
) : TSqlObject

Parâmetros

Valor de retorno

Tipo: Microsoft.SqlServer.Dac.Model.TSqlObject
Parent object or else null.

Consulte também

Referência

TSqlObject Classe

Sobrecarregado GetParent

Namespace Microsoft.SqlServer.Dac.Model