please dont rip this site

Delete

The ADSI container object Delete method deletes an object from a container.

Syntax

Object.Delete KeyType, Name
 

Parts

object
The IIS Admin Object that contains the object. Usually the result of a previous GetObject operation.
KeyType
The type of IIS Admin Object to delete.
Name
The name of the object to delete.

Remarks

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.

Code Example

<% 
Dim WebServiceObj 
' Get the web service object, which contains servers 
Set WebServiceObj = GetObject("IIS://LocalHost/W3SVC") 
' Delete the fourth server 
WebServiceObj.Delete "IIsWebServer", "4" 
%> 
 

See Also

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,
TOP NEW HELP FIND: 
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?
Please DO link to this page! Digg it! / MAKE!

<A HREF="http://www.massmind.org/techref/inet/iis/iis/htm/sdk/aoii9iat.htm"> Delete</A>

After you find an appropriate page, you are invited to your to this massmind site! (posts will be visible only to you before review) Just type a nice message (short messages are blocked as spam) in the box and press the Post button. (HTML welcomed, but not the <A tag: Instead, use the link box to link to another page. A tutorial is available Members can login to post directly, become page editors, and be credited for their posts.


Link? Put it here: 
if you want a response, please enter your email address: 
Attn spammers: All posts are reviewed before being made visible to anyone other than the poster.
Did you find what you needed?

 

Welcome to massmind.org!

 

Welcome to www.massmind.org!

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

  .