Freigeben über


TSqlObject.GetParent-Methode (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

Parameter

Rückgabewert

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

Siehe auch

Verweis

TSqlObject Klasse

GetParent-Überladung

Microsoft.SqlServer.Dac.Model-Namespace