Delete Method

The Delete method deletes a specified project.

VBScript Syntax

IManager.Delete name

Parameters

name

A string (VT_BSTR) specifying the name of the project to delete

Return Value

None (void)

Remarks

An exception will occur if a project with the specified name does not already exist.

Example

' Using Windows Scripting Host Runtime Env  (cscript.exe)
Option Explicit
Dim Manager
Set Manager = CreateObject("Push.Manager")
On Error Resume Next
Call Manager.Delete("Project1")
If Err.Number <> 0 Then
  WScript.Echo "Project does not exist!"
  Err.Clear
End If

© 1997-1998 Microsoft Corporation. All rights reserved.