public void DeleteDepartment( Identifier orgUnitId )
 {
     DeleteDepartmentRequest request = new DeleteDepartmentRequest() { OrgUnitId = orgUnitId };
     CallWebService<IOrgUnitManagementServicev1_0, DeleteDepartmentRequest, DeleteOrgUnitResponse>(
         m_service1_0, request, ( s, q ) => s.DeleteDepartment( q ) );
     DeleteOrgUnitResponse response = m_service1_0.DeleteDepartment( request );
 }
Example #2
0
 /// <remarks/>
 public void DeleteDepartmentAsync(DeleteDepartmentRequest DeleteDepartmentRequest)
 {
     this.DeleteDepartmentAsync(DeleteDepartmentRequest, null);
 }
Example #3
0
 /// <remarks/>
 public void DeleteDepartmentAsync(DeleteDepartmentRequest DeleteDepartmentRequest, object userState)
 {
     if ((this.DeleteDepartmentOperationCompleted == null)) {
         this.DeleteDepartmentOperationCompleted = new System.Threading.SendOrPostCallback(this.OnDeleteDepartmentOperationCompleted);
     }
     this.InvokeAsync("DeleteDepartment", new object[] {
                 DeleteDepartmentRequest}, this.DeleteDepartmentOperationCompleted, userState);
 }
Example #4
0
 /// <remarks/>
 public System.IAsyncResult BeginDeleteDepartment(DeleteDepartmentRequest DeleteDepartmentRequest, System.AsyncCallback callback, object asyncState)
 {
     return this.BeginInvoke("DeleteDepartment", new object[] {
                 DeleteDepartmentRequest}, callback, asyncState);
 }