Forum Discussion
nate_fielding_6
Nimbostratus
Aug 08, 2006getting members of a pool
I am trying to get a list of members of a certain pool to printout on a command line. i am using this code below to print out the name of the pools i am using and other information about the pool: ...
nate_fielding_6
Nimbostratus
Aug 09, 2006
string members = poolList[poolIdx];
ITCMCommonIPPortDefinition[] memberstest = f5Pool.get_member_list(members);
That is the code I am using to call the pool name. But i get this error
"Cannot assign object of type System.String to an object of type System.Int64"
But when I use this code :
string members = poolList[poolIdx];
members = members.ToUpper();
ITCMCommonIPPortDefinition[] memberstest = f5Pool.get_member_list(members);
I get no problems except that no value gets past.
get_member_list requires a string pool_name and that is what I am passing.
ex. first pool from the get_list I used in code in frist post is called "Web_Tone"
even if I do
ITCMCommonIPPortDefinition[] memberstest = f5Pool.get_member_list("Web_Tone" );
I get the inner exception error.
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