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 the 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 中的 Shared)成员在多线程操作中是安全的。但不保证所有实例成员都是线程安全的。

示例

脚本撰写

线程安全

此类型的任何公共 static(在 Visual Basic 中为 Shared) 成员都是线程安全的。不保证所有实例成员都是线程安全的。

请参阅

参考

Microsoft.SqlServer.Management.Smo 命名空间