Philip,
I am finally getting back to this, but am not getting the information I want. Below is the code that I am using. Can you see what I am doing wrong?
Thanks,
Mele
namespace ConsoleApplication1
{
class Program
{
static void Main(string[] args)
{
AGSClient Client = new AGSClient("https://MyServer:6443/arcgis/admin", "User", "PWD");
Task<Dictionary<string, ArcGISRESTAdmin.Classes.ServiceReport[]>> taskServiceReports = Client.GetAllServiceReports();
Dictionary<string, ArcGISRESTAdmin.Classes.ServiceReport[]> dctServiceReports = taskServiceReports.Result;
foreach (KeyValuePair<string, ArcGISRESTAdmin.Classes.ServiceReport[]> kvp in dctServiceReports)
{
string theKey = kvp.Key;
ArcGISRESTAdmin.Classes.ServiceReport[] serviceReports = kvp.Value;
for (int x = 0; x < serviceReports.Length; x++)
{
string serviceName = serviceReports.serviceName;
string configuredStatus = serviceReports.status.configuredState.ToString();
Task<ServiceManifest> manifest = Client.GetServiceManifest(serviceReports, "");
}
}
}
}
}