HasChildNodes 属性

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

命名空间:  Microsoft.SqlServer.Management.Smo
程序集:  Microsoft.SqlServer.Smo(在 Microsoft.SqlServer.Smo.dll 中)

语法

声明
Public Overridable ReadOnly Property HasChildNodes As Boolean
    Get
用法
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

属性值

类型: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.

示例

脚本撰写