public void Disable() { try { AdminVdc.ExecuteVdcAction(this.VcloudClient, this.Reference.href + "/action/disable", (string)null, (string)null, 204); } catch (Exception ex) { throw new VCloudException(ex.Message); } }
public static void Disable(vCloudClient client, ReferenceType adminVdcRef) { try { string orgActionUrl = adminVdcRef.href + "/action/disable"; AdminVdc.ExecuteVdcAction(client, orgActionUrl, (string)null, (string)null, 204); } catch (Exception ex) { throw new VCloudException(ex.Message); } }