开发者

How do I remove a site from IIS7 using JavaScript?

开发者 https://www.devze.com 2022-12-14 14:14 出处:网络
I\'ve been searching the Internet for a way to remove a site from IIS7 using JavaScript. I\'ve found, and used, a lot of examples on how to create a site and applications using JavaScript but not a si

I've been searching the Internet for a way to remove a site from IIS7 using JavaScript. I've found, and used, a lot of examples on how to create a site and applications using JavaScript but not a single example on how to delete a site!

I figured that since the .Net System.Configuration.ConfigurationElementCollection-class has a BaseRemoveAt()-method, then there should be a corresponding method in JavaScript, but I have not found any.

Do开发者_JS百科es anyone know how to remove a site from IIS7 using JavaScript?

Please help!

/Petteri


The method you were looking for is called DeleteElement. See an example of its usage here.

0

精彩评论

暂无评论...
验证码 换一张
取 消