Dela via


DependencyTreeNode.HasChildNodes Property

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

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

Syntax

'Declaration
Public Overridable ReadOnly Property HasChildNodes As Boolean
    Get
'Usage
Dim instance As DependencyTreeNode
Dim value As Boolean

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

Property Value

Type: System.Boolean
A Boolean value that specifies whether the referenced DependencyTreeNode object has any 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