Example #1
0
 public void ChangeOwner(ReferenceType userReference)
 {
     try
     {
         Vapp.ChangeOwner(this.Reference.href + "/owner", userReference, this.VcloudClient);
     }
     catch (Exception ex)
     {
         throw new VCloudException(ex.Message);
     }
 }
Example #2
0
 public static void ChangeOwner(
     vCloudClient client,
     ReferenceType vappRef,
     ReferenceType userReference)
 {
     try
     {
         Vapp.ChangeOwner(vappRef.href + "/owner", userReference, client);
     }
     catch (Exception ex)
     {
         throw new VCloudException(ex.Message);
     }
 }