Save Method

The Save method saves a project with the name specified to disk.

VBScript Syntax

IProject.Save name

Parameters

name

an string specifying the name to save the project under. This can be a full file system path, a relative path, or just a name.  (VT_BSTR)

Return Value

none

Remarks

If just a name is specified, the project is saved in the directory "c:\microsoft site server\data\pushcfg".  Projects stored in this directory are returned by the Manager class's GetProjects method.

Example

' Using the Windows Scripting Host and VBScript
Set Project = CreateObject("Push.Project")
call Project.Save("c:\\Projects\\ProjectName")

See Also

IManager GetProjects Method


© 1997-1998 Microsoft Corporation. All rights reserved.