2.5

Table Of Contents
VMware Lab Manager SOAP API Guide
40 VMware, Inc.
//** Delete configuration if it isn’t deployed
if (!deployed)
{
binding.ConfigurationDelete(configurationId);
}
else
{
//**
//** Must undeploy configuration before deleting it
//**
binding.ConfigurationUndeploy(configurationId);
binding.ConfigurationDelete(configurationId);
}
}
catch (Exception e)
{
Console.WriteLine("Error: " + e.Message);
Console.ReadLine();
}
ConfigurationDeploy
Thismethodallowsyoutodeployanundeployedconfigurationwhichresidesinthe
Workspace.
Syntax
ConfigurationDeploy(6, false, 1);
Arguments
Response
none
Table 4-9. Arguments
Field Data Type Description
configurationID int NumericidentifieroftheconfigurationintheWorkspace.
isCached boolean Alwayssetafalsevalue.
isFenced int 1=Notfenced.
2=Fenced—Blocktrafficinandout.
3=Fenced—Allowtrafficoutonly.
4=Fenced—Allowtrafficinandout.