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) 成员都是线程安全的。不保证所有实例成员都是线程安全的。