Previous in Contents Next in Contents

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 path name, a relative path name, or just a name, in which case the default directory "c:\microsoft site server\data\pushcfg" is assumed. You 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-2000 Microsoft Corporation. All rights reserved.