You are here: Data Classes > TaxonomyRequest Class > TaxonomyRequest Properties > Depth
Ektron CMS400.NET API Documentation
ContentsIndexHome
PreviousUpNext
TaxonomyRequest.Depth Property

Gets or sets number of taxonomy levels to retrieve below each taxonomy/category. For example, if the taxonomy is Businesses > Restaurants > Pizza , and you set this property to 2, only Business and Restaurants are available in code behind.  

To retrieve the all of the categories for a taxonomy recursively, enter -1. 

The default value is 1.  

Important! - For a live site, Ektron strongly recommends leaving this value at 1. Increasing this value can slow down your live Web server. However, for testing on a staging server, you can increase the depth.  

C#
public int Depth;
Visual Basic
Public Property Depth() As Integer

An integer representing the depth level.

This property should not be left empty. Enter a value at least a value of 1.

Created with a commercial version of Doc-O-Matic. In order to make this message disappear you need to register this software. If you have problems registering this software please contact us at [email protected].
Copyright (c) 2008. All rights reserved.
What do you think about this topic? Send feedback!