示例#1
0
 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());
     }
 }
示例#2
0
 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());
     }
 }
示例#3
0
 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);
     }
 }