levels Parameter

Applies to: SharePoint Foundation 2010

Data Type: Integer

Use of this parameter identifies the levels to use in the structure store for the Web site. A value of -1 specifies all levels below the specified starting node. A value of n, a positive integer, retrieves n levels of children. If the includeHead parameter is set to true, 0 is an allowable value and retrieves the specified node only.