public Group Patch(string groupKey, Group item) { using (PoolItem <DirectoryService> connection = this.directoryServicePool.Take(NullValueHandling.Ignore)) { GroupsResource.PatchRequest request = connection.Item.Groups.Patch(item, groupKey); return(request.ExecuteWithRetryOnBackoff()); } }
public Group Add(Group item) { using (PoolItem <DirectoryService> connection = this.directoryServicePool.Take(NullValueHandling.Ignore)) { GroupsResource.InsertRequest request = connection.Item.Groups.Insert(item); return(request.ExecuteWithRetryOnBackoff()); } }
public Group Get(string groupKey) { using (PoolItem <DirectoryService> connection = this.directoryServicePool.Take(NullValueHandling.Ignore)) { GroupsResource.GetRequest request = connection.Item.Groups.Get(groupKey); Group result = request.ExecuteWithRetryOnBackoff(); return(result); } }