Share via


DependencyTree.HasChildNodes Property

Gets the Boolean property value that specifies whether the DependencyTree object has any child nodes.

Namespace:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Syntax

'Declaration
Public Overrides ReadOnly Property HasChildNodes As Boolean
    Get
'Usage
Dim instance As DependencyTree
Dim value As Boolean

value = instance.HasChildNodes
public override bool HasChildNodes { get; }
public:
virtual property bool HasChildNodes {
    bool get () override;
}
abstract HasChildNodes : bool
override HasChildNodes : bool
override function get HasChildNodes () : boolean

Property Value

Type: System.Boolean
A Boolean value that specifies whether the DependencyTree object has dependent child DependencyTreeNode objects.
If True, the DependencyTree object has child DependencyTreeNode objects.
If False (default), the DependencyTree object does not have any child DependencyTreeNode objects.

Examples

Scripting