TSqlObject.GetChildren Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
GetChildren() |
Returns all TSqlObject child objects within the Default scope. |
GetChildren(DacQueryScopes) |
Returns all TSqlObject child objects within the specified DacQueryScopes scope. |
GetChildren()
Returns all TSqlObject child objects within the Default scope.
public System.Collections.Generic.IEnumerable<Microsoft.SqlServer.Dac.Model.TSqlObject> GetChildren ();
member this.GetChildren : unit -> seq<Microsoft.SqlServer.Dac.Model.TSqlObject>
Public Function GetChildren () As IEnumerable(Of TSqlObject)
Returns
All children.
Remarks
References to elements not in the TSqlModel are not returned.
Applies to
GetChildren(DacQueryScopes)
Returns all TSqlObject child objects within the specified DacQueryScopes scope.
public System.Collections.Generic.IEnumerable<Microsoft.SqlServer.Dac.Model.TSqlObject> GetChildren (Microsoft.SqlServer.Dac.Model.DacQueryScopes queryScopes);
member this.GetChildren : Microsoft.SqlServer.Dac.Model.DacQueryScopes -> seq<Microsoft.SqlServer.Dac.Model.TSqlObject>
Public Function GetChildren (queryScopes As DacQueryScopes) As IEnumerable(Of TSqlObject)
Public Iterator Function GetChildren (queryScopes As DacQueryScopes) As IEnumerable(Of TSqlObject)
Parameters
- queryScopes
- DacQueryScopes
DacQueryScopes defining the scope objects must exist in.
Returns
All children.
Remarks
References to elements not in the TSqlModel are not returned.