public DepartmentInfo[] GetChildDepartments( Identifier orgUnitId )
 {
     GetChildDepartmentsRequest request = new GetChildDepartmentsRequest() { OrgUnitId = orgUnitId };
     GetDepartmentsResponse response = CallWebService<
         IOrgUnitManagementServicev1_0, GetChildDepartmentsRequest, GetDepartmentsResponse>(
         m_service1_0, request, ( s, q ) => s.GetChildDepartments( q ) );
     return response.ChildOrgUnits;
 }
Exemple #2
0
 /// <remarks/>
 public void GetChildDepartmentsAsync(GetChildDepartmentsRequest GetChildDepartmentsRequest)
 {
     this.GetChildDepartmentsAsync(GetChildDepartmentsRequest, null);
 }
Exemple #3
0
 /// <remarks/>
 public void GetChildDepartmentsAsync(GetChildDepartmentsRequest GetChildDepartmentsRequest, object userState)
 {
     if ((this.GetChildDepartmentsOperationCompleted == null)) {
         this.GetChildDepartmentsOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGetChildDepartmentsOperationCompleted);
     }
     this.InvokeAsync("GetChildDepartments", new object[] {
                 GetChildDepartmentsRequest}, this.GetChildDepartmentsOperationCompleted, userState);
 }
Exemple #4
0
 /// <remarks/>
 public System.IAsyncResult BeginGetChildDepartments(GetChildDepartmentsRequest GetChildDepartmentsRequest, System.AsyncCallback callback, object asyncState)
 {
     return this.BeginInvoke("GetChildDepartments", new object[] {
                 GetChildDepartmentsRequest}, callback, asyncState);
 }