public void DeleteDeploymentGroup()
        {
            String projectName = ClientSampleHelpers.FindAnyProject(this.Context).Name;

            // Get a task agent client instance
            VssConnection       connection = Context.Connection;
            TaskAgentHttpClient dgClient   = connection.GetClient <TaskAgentHttpClient>();

            // Delete deployment group by ID
            dgClient.DeleteDeploymentGroupAsync(project: projectName, deploymentGroupId: this.addedDeploymentGroupId).SyncResult();
        }