David_Murphy_22
Sep 16, 2013Nimbostratus
iControl - LocalLBVirtualServerVirtualServerPersistence[][] - list persistence profile for each Virtual Server
// ... code snippet
iControl.Interfaces interfaces = new iControl.Interfaces();
if (interfaces.initialize(bigip, port, user, pass))
{
Vslist = interfaces.LocalLBVirtualServer.get_list();
LocalLBVirtualServerVirtualServerPersistence[][] VSPersist = interfaces.LocalLBVirtualServer.get_persistence_profile(Vslist);
for (int rowNum = 1; rowNum <= Vslist.Length; rowNum++)
{
TableRow tempRow = new TableRow();
TableCell tempCell = new TableCell();
tempCell.Text = String.Format("{0}", Vslist[rowNum - 1]);
// end code snippet ...
I can successfully use the VsList variable above, however I'm trying to list the persistence 'profile_name' using the VSPersist variable with no success. If you could show me any example of how to get to the persistence 'profile_name', I think I can go forward from your example. Thanks