public BasicOrganizationalUnit[] GetOrganizationalUnits(OrganizationalUnitFilter filter) { object[] results = this.Invoke("GetOrganizationalUnits", new object[] { filter }); return((BasicOrganizationalUnit[])(results[0])); }
/// <remarks/> public void GetOrganizationalUnitsAsync(OrganizationalUnitFilter filter, object userState) { if ((this.GetOrganizationalUnitsOperationCompleted == null)) { this.GetOrganizationalUnitsOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGetOrganizationalUnitsOperationCompleted); } this.InvokeAsync("GetOrganizationalUnits", new object[] { filter }, this.GetOrganizationalUnitsOperationCompleted, userState); }
/// <remarks/> public System.IAsyncResult BeginGetOrganizationalUnits(OrganizationalUnitFilter filter, System.AsyncCallback callback, object asyncState) { return(this.BeginInvoke("GetOrganizationalUnits", new object[] { filter }, callback, asyncState)); }
/// <remarks/> public void GetOrganizationalUnitsAsync(OrganizationalUnitFilter filter) { this.GetOrganizationalUnitsAsync(filter, null); }