共用方式為


TSqlObject.GetParent Method

Definition

Overloads

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.

GetParent()

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

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.

public Microsoft.SqlServer.Dac.Model.TSqlObject GetParent (Microsoft.SqlServer.Dac.Model.DacQueryScopes queryScopes);
member this.GetParent : Microsoft.SqlServer.Dac.Model.DacQueryScopes -> Microsoft.SqlServer.Dac.Model.TSqlObject
Public Function GetParent (queryScopes As DacQueryScopes) As TSqlObject

Parameters

queryScopes
DacQueryScopes

DacQueryScopes defining the scope objects must exist in.

Returns

Parent object or else null.

Applies to

GetParent()

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

public Microsoft.SqlServer.Dac.Model.TSqlObject GetParent ();
member this.GetParent : unit -> Microsoft.SqlServer.Dac.Model.TSqlObject
Public Function GetParent () As TSqlObject

Returns

Parent object others null.

Applies to