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/5/15 12:15,
18.225.92.18: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.massmind.org/techref/inet/iis/iis/htm/sdk/aoii9iat.htm"> Delete</A> |
Did you find what you needed? |
Welcome to massmind.org! |
Welcome to www.massmind.org! |
.