Click or drag to resize

AdministrationClientSelectPagedEntityFieldList Method

Syntax
C#
public ResultOfPagedCollectionOfEntityField SelectPagedEntityFieldList(
	ManagementGroupRequestOfEntityFieldSearch request
)

Parameters

request
Type: AdministrationServiceManagementGroupRequestOfEntityFieldSearch

Return Value

Type: ResultOfPagedCollectionOfEntityField
Examples
C#
using (var svc = new AdministrationService.AdministrationClient())
{
  var request = new AdministrationService.ManagementGroupRequestOfEntityFieldSearch();
  request.Token = "Token";//Required - Token returned from AccountService.ManagementGroupLogin
  request.ManagementGroup = "Management group";//Required - ManagementGroup supplied when calling AccountService.ManagementGroupLogin

  var entityFieldSearch = new AdministrationService.EntityFieldSearch();
  entityFieldSearch.MemberRSN = new Guid("0912c504-0000-4998-86a7-2180ac30fd31");; //Required
  entityFieldSearch.FieldName = string.Empty; //Optional
  entityFieldSearch.FieldValue = string.Empty; //Optional
  entityFieldSearch.DateFrom = null; //Optional
  entityFieldSearch.DateTo = null; //Optional
  entityFieldSearch.PageNumber = 1; //Optional
  entityFieldSearch.PageSize = 10; //Optional 

  request.Value = entityFieldSearch;

  AdministrationService.ResultOfPagedCollectionOfEntityField result = svc.SelectPagedEntityFieldList(request);

  if (result.FaultCode == 0)
  {
    //Request succeeded
  }
  else
  {
    //Request failed          
    throw new Exception(result.FaultDescription);
  }
}
See Also