IHierarchyNodeBuilder.GetCount Method

Definition

Retrieves the number of nodes that the object represents.

Overloads

GetCount(INodeInformation)

Retrieves the number of nodes that the object represents.

GetCount(INodeInformation, Int32)

Retrieves the number of nodes in the object with the specified source and depth.

GetCount(INodeInformation)

Retrieves the number of nodes that the object represents.

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

Parameters

source
INodeInformation

Source information.

Returns

Returns the number of nodes that the object represents.

Applies to

GetCount(INodeInformation, Int32)

Retrieves the number of nodes in the object with the specified source and depth.

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

Parameters

source
INodeInformation

Source information.

depth
Int32

A Int32 value that contains the element count.

Returns

The number of nodes with the specified source and depth.

Applies to