Collect the list of COM+ applications running on a remote server

Karthikanbarasan
Posted by Karthikanbarasan under C# category on | Points: 40 | Views : 5114
using COMAdmin; -- get this in interop.comadmin in com reference

COMAdminCatalog objCat = null;
COMAdmin.COMAdminCatalogCollection objCatColl = null;


public void ComConnection()
{
objCat= new COMAdminCatalog();
objCat.Connect("Server IP"); //give server Ip
objCatColl = (COMAdmin.COMAdminCatalogCollection)objCat.GetCollection("Applications");
}

Comments or Responses

Login to post response