Load Method

The Load method loads a specified project from disk.

VBScript Syntax

IProject.Load name

Parameters

name

a string specifying the name of the project to load. (VT_BSTR)

Return Value

none

Remarks

This method will generate an exception if a project by the name specified does not exist.

The name may be a full pathname, a relative pathname, or just a name, in which case the default directory "c:\microsoft site server\data\pushcfg" is assumed.  One need not specify the ".ppr" extension in the file name as it also is assumed.

Example

Set Project = CreateObject("Push.Project")
call Project.Load "ProjectName"

© 1997-1998 Microsoft Corporation. All rights reserved.