共用方式為


DependencyTree.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.

範例

指令碼

請參閱

參考

DependencyTree 類別

Microsoft.SqlServer.Management.Smo 命名空間