Forum Discussion
Laggin_53249
Nimbostratus
Sep 06, 2007Removing the default_pool from a Virtual Server.
Ok, so I can set__default_pool_name using the syntax below (C), but how can I set the default_pool to None?
m_interfaces.LocalLBVirtualServer.set_default_pool_name(new string[] { vipName }, new string[] { vipPool });
I don't see any methods to 'remove_default_pool' or the like.
- Just pass in an empty string for the default pool name. This will equate to "None" in the GUI.
m_interfaces.LocalLBVirtualServer.set_default_pool_name(new string[] { vipName }, new string[] { "" });
Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects