Delen via


TSqlObject.GetParent Method (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 (in Microsoft.SqlServer.Dac.Extensions.dll)

Syntax

'Declaration
Public Function GetParent ( _
    queryScopes As DacQueryScopes _
) As TSqlObject
'Usage
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

Parameters

Return Value

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

See Also

Reference

TSqlObject Class

GetParent Overload

Microsoft.SqlServer.Dac.Model Namespace