IHierarchyNodeBuilder.GetCount Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.
Returns
The number of nodes with the specified source and depth.