HasChildNodes 属性

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

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

语法

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

属性值

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

示例

脚本撰写