共用方式為


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.

範例

指令碼