using (var svc = new AdministrationService.AdministrationClient())
{
var request = new AdministrationService.ManagementGroupRequestOfCampaignSegmentSearch();
request.Token = "Token";
request.ManagementGroup = "Management group";
var campaignSegmentSearch = new AdministrationService.CampaignSegmentSearch();
campaignSegmentSearch.Campaign_RSN = new Guid("8ba19c3c-ec00-4ac0-aa49-545369ed2d15");;
campaignSegmentSearch.PageNumber = 1;
campaignSegmentSearch.PageSize = 10;
request.Value = campaignSegmentSearch;
AdministrationService.ResultOfPagedCollectionOfCampaignSegment result = svc.SelectPagedCampaignSegmentList(request);
if (result.FaultCode == 0)
{
}
else
{
throw new Exception(result.FaultDescription);
}
}