3.0

Table Of Contents
Lab Manager SOAP API Guide
36 VMware, Inc.
ConfigurationCheckout
Thismethodchecksoutaconfigurationfromtheconfigurationlibraryandmovesitto
theWorkspaceunderadifferentname.
Syntax
int result = ConfigurationCheckout(7, “Config7May10”);
Arguments
Response
Sample Code: C#
try
{
//
//** LMSoap is the name of the Web reference in Visual Studio.
//
LabManagerSoap.VMwareLabManagerSOAPinterface binding = new
LabManagerSoap.VMwareLabManagerSOAPinterface();
//
//** Create login
//
binding.AuthenticationHeaderValue = new
LabManagerSoap.AuthenticationHeader();
binding.AuthenticationHeaderValue.username = "jaya";
binding.AuthenticationHeaderValue.password = "Lab Manager";
binding.AuthenticationHeaderValue.organizationname = "MyOrg";
binding.Url =
"https://demo18.LabManager.com/LabManager/SOAP/LabManager.asmx";
binding.Timeout = 10 * 60 * 1000; // 10 minutes
ServicePointManager.CertificatePolicy = new CertificateAccepter();
Field Data Type Description
configurationID int Numericidentifieroftheconfigurationintheconfiguration
library.
workspaceName string Workspacenameofthecheckedoutconfiguration.
Field Data Type Description
workspaceID int NumericidentifieroftheconfigurationintheWorkspace.