The ADSI container object Delete method deletes an object from a container.
Object.Delete KeyType, Name
When the contained object to be deleted is part of an application, the Delete method will remove the application definition before deleting the object. See the AppDelete method of the IIsWebVirtualDir and IIsWebDirectory objects.
<% Dim WebServiceObj ' Get the web service object, which contains servers Set WebServiceObj = GetObject("IIS://LocalHost/W3SVC") ' Delete the fourth server WebServiceObj.Delete "IIsWebServer", "4" %>
GetObject, Create, CopyHere, MoveHere
© 1997 by Microsoft Corporation. All rights reserved.
file: /Techref/inet/iis/iis/htm/sdk/aoii9iat.htm, 2KB, , updated: 2002/5/22 16:36, local time: 2025/6/6 09:37,
216.73.216.166,10-2-147-139:LOG IN
|
©2025 These pages are served without commercial sponsorship. (No popup ads, etc...).Bandwidth abuse increases hosting cost forcing sponsorship or shutdown. This server aggressively defends against automated copying for any reason including offline viewing, duplication, etc... Please respect this requirement and DO NOT RIP THIS SITE. Questions? <A HREF="http://www.piclist.com/techref/inet/iis/iis/htm/sdk/aoii9iat.htm"> Delete</A> |
Did you find what you needed? |
![]() o List host: MIT, Site host massmind.org, Top posters @none found - Page Editors: James Newton, David Cary, and YOU! * Roman Black of Black Robotics donates from sales of Linistep stepper controller kits. * Ashley Roll of Digital Nemesis donates from sales of RCL-1 RS232 to TTL converters. * Monthly Subscribers: Gregg Rew. on-going support is MOST appreciated! * Contributors: Richard Seriani, Sr. |
Welcome to www.piclist.com! |
.