public GroupInfo GetGroupByCode( string code )
 {
     GetGroupByCodeRequest request = new GetGroupByCodeRequest() { Code = code };
     GetGroupResponse response = CallWebService<
         IOrgUnitManagementServicev1_0, GetGroupByCodeRequest, GetGroupResponse>(
         m_service1_0, request, ( s, q ) => s.GetGroupByCode( q ) );
     return response.Group;
 }
Esempio n. 2
0
 /// <remarks/>
 public void GetGroupByCodeAsync(GetGroupByCodeRequest GetGroupByCodeRequest)
 {
     this.GetGroupByCodeAsync(GetGroupByCodeRequest, null);
 }
Esempio n. 3
0
 /// <remarks/>
 public void GetGroupByCodeAsync(GetGroupByCodeRequest GetGroupByCodeRequest, object userState)
 {
     if ((this.GetGroupByCodeOperationCompleted == null)) {
         this.GetGroupByCodeOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGetGroupByCodeOperationCompleted);
     }
     this.InvokeAsync("GetGroupByCode", new object[] {
                 GetGroupByCodeRequest}, this.GetGroupByCodeOperationCompleted, userState);
 }
Esempio n. 4
0
 /// <remarks/>
 public System.IAsyncResult BeginGetGroupByCode(GetGroupByCodeRequest GetGroupByCodeRequest, System.AsyncCallback callback, object asyncState)
 {
     return this.BeginInvoke("GetGroupByCode", new object[] {
                 GetGroupByCodeRequest}, callback, asyncState);
 }