예제 #1
0
 public Task Delete()
 {
     try
     {
         return(VMWExternalNetwork.DeleteVMWExternalNetwork(this.VcloudClient, this.Reference.href));
     }
     catch (Exception ex)
     {
         throw new VCloudException(ex.Message);
     }
 }
예제 #2
0
 public static Task Delete(vCloudClient client, ReferenceType vmwExternalNetworkRef)
 {
     try
     {
         return(VMWExternalNetwork.DeleteVMWExternalNetwork(client, vmwExternalNetworkRef.href));
     }
     catch (Exception ex)
     {
         throw new VCloudException(ex.Message);
     }
 }