/// <summary>Snippet for GetGroup</summary>
 public void GetGroup()
 {
     // Snippet: GetGroup(GroupName,CallSettings)
     // Create client
     GroupServiceClient groupServiceClient = GroupServiceClient.Create();
     // Initialize request argument(s)
     GroupName name = new GroupName("[PROJECT]", "[GROUP]");
     // Make the request
     Group response = groupServiceClient.GetGroup(name);
     // End snippet
 }
        private void btnSync_Click(object sender, EventArgs e)
        {
            try
            {
                GroupServiceClient gscSync = new GroupServiceClient();

                lblStatus.Visible = true;
                lblStatus.Text = "You cannot drag slider now!";

                lblGroupName.Visible = true;
                lblGroupName.Text = gscSync.GetGroup().GroupName;
                lblMembersName.Visible = true;
                lblMembersName.Text = gscSync.GetGroup().GroupMembers;

                lblStatus.Text = "You can drag slider now!";
            }
            catch (Exception ex)
            {
                MessageBox.Show(ex.Message, "Exception", MessageBoxButtons.OK, MessageBoxIcon.Warning);
            }
        }
 /// <summary>Snippet for GetGroup</summary>
 public void GetGroup_RequestObject()
 {
     // Snippet: GetGroup(GetGroupRequest,CallSettings)
     // Create client
     GroupServiceClient groupServiceClient = GroupServiceClient.Create();
     // Initialize request argument(s)
     GetGroupRequest request = new GetGroupRequest
     {
         GroupName = new GroupName("[PROJECT]", "[GROUP]"),
     };
     // Make the request
     Group response = groupServiceClient.GetGroup(request);
     // End snippet
 }