Forum Discussion
RE: Management.Partition.set_active_partition -- it sounds like if you set it to "[All]" it will automatically set recursive query enabled. See:
https://devcentral.f5.com/wiki/iControl.Management__Partition__set_active_partition.ashx
This method is deprecated; please use System::Session::set_active_folder instead. Sets the active partition for the current user. The active partition is the administrative partition where all configuration will take place until a new active partition is selected. Each user can only be in one active partition at any given time. By default, if not explicitly set, the active partition for a user will be "Common". Note: Please note that this method is deprecated. If you set the partition to "[All]", this maps to the System::Session interface method set_active_folder("/") and in this case this method automatically performs set_recursive_query_state(STATE_ENABLED) as well. The method uses set_active_folder, so if the partition you specify maps to no existing top-level folder it will tell you the folder doesn't exist and behave in all respects as set_active_folder does.