DependencyTree 類別
The DependencyTree object represents a tree structure that contains SQL Server objects and their hierarchical relationships to each other.
繼承階層
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 DependencyTree _
Inherits DependencyTreeNode
'用途
Dim instance As DependencyTree
public class DependencyTree : DependencyTreeNode
public ref class DependencyTree : public DependencyTreeNode
type DependencyTree =
class
inherit DependencyTreeNode
end
public class DependencyTree extends DependencyTreeNode
DependencyTree 型別公開下列成員。
屬性
名稱 | 說明 | |
---|---|---|
Count | Gets the total number of DependencyTreeNode objects in the DependencyTree object. | |
Dependencies | Gets or sets a Dependency Chain Collection | |
DependsOnParents | Gets or sets property indicating if the Dependency Tree depends on parent objects. | |
FirstChild | Gets the first child DependencyTreeNode object in the DependencyTree object. (覆寫 DependencyTreeNode. . :: . .FirstChild。) | |
HasChildNodes | Gets the Boolean property value that specifies whether the DependencyTree object has any child nodes. (覆寫 DependencyTreeNode. . :: . .HasChildNodes。) | |
Index | Gets or sets the item at the given index in tree node collection. (繼承自 DependencyTreeNode。) | |
IsSchemaBound | Determines if the Dependency Node is bound to a schema (繼承自 DependencyNode。) | |
NextSibling | Gets the next sibling DependencyTreeNode object in the DependencyTree object. (覆寫 DependencyTreeNode. . :: . .NextSibling。) | |
NumberOfSiblings | Gets the number of sibling objects in the DependencyTree object hierarchy. (覆寫 DependencyTreeNode. . :: . .NumberOfSiblings。) | |
Roots | Gets or sets the root nodes of a Dependency Chain Collection. | |
Siblings | Gets or sets siblings contained in a Dependency Tree Node. (繼承自 DependencyTreeNode。) | |
Urn | Gets the Urn value of that uniquely identifies the SQL Server object that the DependencyTree object represents. (覆寫 DependencyNode. . :: . .Urn。) |
上層
方法
名稱 | 說明 | |
---|---|---|
Copy | Makes a copy of the DependencyTree object. | |
Equals | (繼承自 Object。) | |
Finalize | (繼承自 Object。) | |
GetHashCode | (繼承自 Object。) | |
GetType | (繼承自 Object。) | |
MemberwiseClone | (繼承自 Object。) | |
Remove | Removes a DependencyTreeNode object from the DependencyTree object. | |
ToString | (繼承自 Object。) |
上層
備註
The DependencyTree object represents a SQL Server object that also references child and sibling SQL Server objects. The references to child and sibling objects are represented by DependencyTreeNode objects. The SQL Server objects that the DependencyTree object and DependencyTreeNode objects represent can be obtained using the Urn property. The DependencyTree object can be navigated using the various properties such as FirstChild and NextSibling or by using the WalkDependencies method of the DependencyWalker object.
Thread Safety
此型別的任何公用靜態 (在 Microsoft Visual Basic 為共用) 成員具備多執行緒作業安全。不保證所有執行個體成員都是安全執行緒。
執行緒安全性
這個型別的任何公用 static (在 Visual Basic 中為 Shared) 成員都是執行緒安全的。並不是所有的執行個體成員都保證可以用於所有的執行緒。