public void ChangeOwner(ReferenceType userReference) { try { AdminCatalog.ChangeOwner(this.Reference.href + "/owner", userReference, this.VcloudClient); } catch (Exception ex) { throw new VCloudException(ex.Message); } }
public static void ChangeOwner( vCloudClient client, ReferenceType catalogRef, ReferenceType userReference) { try { AdminCatalog.ChangeOwner(catalogRef.href + "/owner", userReference, client); } catch (Exception ex) { throw new VCloudException(ex.Message); } }