IHierarchyNodeBuilder.GetCount 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
取得該物件所代表的節點數量。
多載
| 名稱 | Description |
|---|---|
| GetCount(INodeInformation) |
取得該物件所代表的節點數量。 |
| GetCount(INodeInformation, Int32) |
擷取物件中具有指定來源與深度的節點數量。 |
GetCount(INodeInformation)
取得該物件所代表的節點數量。
public:
int GetCount(Microsoft::SqlServer::Management::UI::VSIntegration::ObjectExplorer::INodeInformation ^ source);
public int GetCount(Microsoft.SqlServer.Management.UI.VSIntegration.ObjectExplorer.INodeInformation source);
abstract member GetCount : Microsoft.SqlServer.Management.UI.VSIntegration.ObjectExplorer.INodeInformation -> int
Public Function GetCount (source As INodeInformation) As Integer
參數
- source
- INodeInformation
資料來源資訊。
傳回
回傳該物件所代表的節點數量。
適用於
GetCount(INodeInformation, Int32)
擷取物件中具有指定來源與深度的節點數量。
public:
int GetCount(Microsoft::SqlServer::Management::UI::VSIntegration::ObjectExplorer::INodeInformation ^ source, int depth);
public int GetCount(Microsoft.SqlServer.Management.UI.VSIntegration.ObjectExplorer.INodeInformation source, int depth);
abstract member GetCount : Microsoft.SqlServer.Management.UI.VSIntegration.ObjectExplorer.INodeInformation * int -> int
Public Function GetCount (source As INodeInformation, depth As Integer) As Integer
參數
- source
- INodeInformation
資料來源資訊。
傳回
指具有指定來源與深度的節點數。