Share via


DependencyTreeNode 類別

The DependencyTreeNode class represents the child and sibling SQL Server objects within a DependencyTree object hierarchy.

繼承階層

System. . :: . .Object
  Microsoft.SqlServer.Management.Smo. . :: . .DependencyNode
    Microsoft.SqlServer.Management.Smo..::..DependencyTreeNode
      Microsoft.SqlServer.Management.Smo. . :: . .DependencyTree

命名空間:  Microsoft.SqlServer.Management.Smo
組件:  Microsoft.SqlServer.Smo (在 Microsoft.SqlServer.Smo.dll 中)

語法

'宣告
Public Class DependencyTreeNode _
    Inherits DependencyNode
'用途
Dim instance As DependencyTreeNode
public class DependencyTreeNode : DependencyNode
public ref class DependencyTreeNode : public DependencyNode
type DependencyTreeNode =  
    class
        inherit DependencyNode
    end
public class DependencyTreeNode extends DependencyNode

DependencyTreeNode 型別公開下列成員。

建構函式

  名稱 說明
受保護的方法 DependencyTreeNode Initializes a new instance of the DependencyTreeNode class.

上層

屬性

  名稱 說明
公用屬性 FirstChild Gets the first child DependencyTreeNode object of the referenced DependencyTreeNode object.
公用屬性 HasChildNodes Gets the Boolean property value that specifies whether the DependencyTreeNode object has any child nodes.
受保護的屬性 Index Gets or sets the item at the given index in tree node collection.
公用屬性 IsSchemaBound Determines if the Dependency Node is bound to a schema (繼承自 DependencyNode。)
公用屬性 NextSibling Gets the next sibling DependencyTreeNode object in the referenced DependencyTreeNode object.
公用屬性 NumberOfSiblings Gets the number of sibling DependencyTreeNode objects in the referenced DependencyTreeNode object.
受保護的屬性 Siblings Gets or sets siblings contained in a Dependency Tree Node.
公用屬性 Urn Gets or sets the URN value that uniquely identifies the Microsoft SQL Server object that the DependencyNode object represents. (繼承自 DependencyNode。)

上層

方法

  名稱 說明
公用方法 Equals (繼承自 Object。)
受保護的方法 Finalize (繼承自 Object。)
公用方法 GetHashCode (繼承自 Object。)
公用方法 GetType (繼承自 Object。)
受保護的方法 MemberwiseClone (繼承自 Object。)
公用方法 ToString (繼承自 Object。)

上層

備註

The SQL Server objects that the DependencyTree object and DependencyTreeNode objects represent can be obtained using the Urn property. The DependencyTreeNode object can be navigated using the various properties such as FirstChild and NextSibling.

Thread Safety

此型別的任何公用靜態 (在 Microsoft Visual Basic 為共用) 成員具備多執行緒作業安全。不保證所有執行個體成員都是安全執行緒。

範例

指令碼

執行緒安全性

這個型別的任何公用 static (在 Visual Basic 中為 Shared) 成員都是執行緒安全的。並不是所有的執行個體成員都保證可以用於所有的執行緒。