Forum Discussion
Photo_G_84660
Nimbostratus
Sep 05, 2006VB .NET nodeDisable sub
Hi,
I am trying to code a disableNode sub-procedure in VB .NET, and I am getting this error:
"Value of type 'App_Based_Node_Handler.NodeAddress.CommonEnabledState' cannot be conve...
Sep 06, 2006
Not sure why you have the "Dim configure =" part of the line as the method doesn't return a value. Just remove it...
Public Function disableNode()
Dim node_addresses() As String = {sNodeAddress}
Dim states() As NodeAddress.CommonEnabledState = _
{App_Based_Node_Handler.NodeAddress.CommonEnabledState.STATE_DISABLED}
Node.set_session_enabled_state(node_addresses, states)
End Function-Joe
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)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
