Forum Discussion
Crash8308_17866
Nimbostratus
Oct 27, 2010Toggle Pool members in .net (c sharp)?
I am writing a somewhat "Master Control" form application for the ops guys on our team and am having difficulty finding the right method to use for toggling.
I am using iControl 10.2 and here is ...
Crash8308_11258
Nimbostratus
Oct 27, 2010I found out how i could do it by reading the SDK:
public void togglenodestatus(CommonEnabledState state)
{
string[] hosts = new string[dataGridView1.SelectedCells.Count];
CommonEnabledState[] states = new CommonEnabledState[dataGridView1.SelectedCells.Count];
int i = 0;
foreach (DataGridViewCell cell in DGV_F5NodeStatus.SelectedCells)
{
hosts = cell.Value.ToString();
states[i++] = state;
}
;
TheInterface.LocalLBNodeAddress.set_session_enabled_state(hosts, states);
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