The GetChildrenCount method retrieves the number of child members belonging to an item.
object.GetChildrenCount(
ItemIn)
object
Expression that evaluates to an object in the Applies To list
ItemIn
Handle to the item in the namespace hierarchy
Long
HRESULT GetChildrenCount(
HSQLNSITEM ItemIn,
long *pRetVal);