Quick References
      ADO
      ASP
      CSS2
      HTML
      JavaScript
      Jet SQL
      VBScript
      WML
      WMLScript
      WSH
      XHTML
      XML DOM
      XSLT

Features
      Knowledge Base
      Tutorials

Partners
     ZVON.ORG
     XML
     Planet Source Code
     VisualBuilder
     Web Design
     Your HTML Source
     XML/XSLT Forums
     ASPAlliance
     Scripts
     
     Programmers Heaven
     Tek-Tips Forums
     Developer Fusion
     Code Project











METHOD: Record::DeleteRecord

Implemented in version 2.5

recordobject.DeleteRecord Source, Async

The DeleteRecord method is used to delete a file or a directory and all of its subdirectories.

You are strongly advised to close the affected Record immediately after calling a DeleteRecord. This will prevent any future operations performed by the provider from causing unpredictable behavior before the next update.

There are two optional parameters.

The optional Source parameter is a string that is the URL of the file or directory that is to be copied. If you do not provide a value or provide the empty string, the default value will be the file or directory where the referenced Record object resides.

The optional Async parameter is a Boolean value. If True, the operation can be asynchronous. If False, which is the default, the operation is synchronous.

Code (VBScript):
objRecord.DeleteRecord strSourceURL, True

 


Copyright 1999-2005 by Infinite Software Solutions, Inc. All rights reserved.
Trademark Information