共用方式為


DependencyTree.Count 屬性

Gets the total number of DependencyTreeNode objects in the DependencyTree object.

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

語法

'宣告
Public ReadOnly Property Count As Integer 
    Get
'用途
Dim instance As DependencyTree 
Dim value As Integer 

value = instance.Count
public int Count { get; }
public:
property int Count {
    int get ();
}
member Count : int
function get Count () : int

屬性值

型別:System.Int32
An integer value that specifies the total number of DependencyTreeNode objects in the DependencyTree object.

範例

指令碼

請參閱

參考

DependencyTree 類別

Microsoft.SqlServer.Management.Smo 命名空間