Jonathan_Scholi
Jul 14, 2011Cirrostratus
The method LocalLBVirtualServerVirtualServerResource() is undefined for the type
I'm working on an iControl and I get an error message: "The method LocalLBVirtualServerVirtualServerResource() is undefined for the type CreateVirtual".
My class name is CreateVirtual. It starts with the following imports:
import iControl.LocalLBVirtualServerVirtualServerResource;
import iControl.CommonProtocolType;
import iControl.CommonVirtualServerDefinition;
import iControl.LocalLBVirtualServerVirtualServerProfile;
And contains these lines:
//Define the type of virtual server
LocalLBVirtualServerVirtualServerResource[] virtualresource = new LocalLBVirtualServerVirtualServerResource[1];
LocalLBVirtualServerVirtualServerResource resource1 = LocalLBVirtualServerVirtualServerResource();
The line generates an error on "LocalLBVirtualServerVirtualServerResource()" which I pasted above. I don't see why it would, as I imported the necessary class. Is there something I'm missing?