Click or drag to resize

AdministrationClientSelectLookupListValues Method

Syntax
C#
public ResultOfCollectionOfLookupListValueData SelectLookupListValues(
	ManagementGroupRequestOfLookupListValuesSelect request
)

Parameters

request
Type: AdministrationServiceManagementGroupRequestOfLookupListValuesSelect

Return Value

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

  var lookupListValuesSelect = new AdministrationService.LookupListValuesSelect();
  lookupListValuesSelect.LookupList_RSN = new Guid("4643d120-e692-4315-b005-48ef6c21b5ab");; //Required
  lookupListValuesSelect.LookupList_Name = string.Empty; //Optional

  request.Value = lookupListValuesSelect;

  AdministrationService.ResultOfCollectionOfLookupListValueData result = svc.SelectLookupListValues(request);

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