public SectionInfo[] GetChildSections( Identifier orgUnitId )
 {
     GetChildSectionsRequest request = new GetChildSectionsRequest() { OrgUnitId = orgUnitId };
     GetSectionsResponse response = CallWebService<
         IOrgUnitManagementServicev1_0, GetChildSectionsRequest, GetSectionsResponse>(
         m_service1_0, request, ( s, q ) => s.GetChildSections( q ) );
     return response.ChildOrgUnits;
 }
示例#2
0
 /// <remarks/>
 public void GetChildSectionsAsync(GetChildSectionsRequest GetChildSectionsRequest)
 {
     this.GetChildSectionsAsync(GetChildSectionsRequest, null);
 }
示例#3
0
 /// <remarks/>
 public void GetChildSectionsAsync(GetChildSectionsRequest GetChildSectionsRequest, object userState)
 {
     if ((this.GetChildSectionsOperationCompleted == null)) {
         this.GetChildSectionsOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGetChildSectionsOperationCompleted);
     }
     this.InvokeAsync("GetChildSections", new object[] {
                 GetChildSectionsRequest}, this.GetChildSectionsOperationCompleted, userState);
 }
示例#4
0
 /// <remarks/>
 public System.IAsyncResult BeginGetChildSections(GetChildSectionsRequest GetChildSectionsRequest, System.AsyncCallback callback, object asyncState)
 {
     return this.BeginInvoke("GetChildSections", new object[] {
                 GetChildSectionsRequest}, callback, asyncState);
 }