Forum Discussion

Laggin_53249's avatar
Laggin_53249
Icon for Nimbostratus rankNimbostratus
Sep 06, 2007

Removing 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.

1 Reply

  • 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[] { "" });

    -Joe