语言

IHierarchyNodeBuilder.GetCount 方法

定义

检索该对象所代表的节点数量。

重载

名称 说明
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

来源信息。

depth
Int32

一个 Int32 包含元素计数的值。

返回

指具有指定源和深度的节点数。

适用于