Click or drag to resize

AdministrationClientSelectProgram Method

Select the Program details from the submitted Program RSN.

The Program RSN can be fetched from the Web Service Method: SelectProgramList

Syntax
C#
public ResultOfProgram SelectProgram(
	ManagementGroupRequestOfguid request
)

Parameters

request
Type: AdministrationServiceManagementGroupRequestOfguid

Return Value

Type: ResultOfProgram
Examples
C#
using (var svc = new AdministrationService.AdministrationClient())
{
  var request = new AdministrationService.ManagementGroupRequestOfguid();
  request.Token = "Token";//Required - Token returned from AccountService.ManagementGroupLogin
  request.ManagementGroup = "Management group";//Required - ManagementGroup supplied when calling AccountService.ManagementGroupLogin
  request.Value = new Guid("5351691f-cc5c-468f-9404-392a1b2170fe");; //Required - RSN of program

  AdministrationService.ResultOfProgram result = svc.SelectProgram(request);

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