Previous in Contents Next in Contents

GetProjects Method

The GetProjects method returns a class List object that contains strings. Each string is the name of a saved project located in the default data directory "c:\microsoft site server\data\pushcfg".

VBScript Syntax

IManager.GetProjects

Parameters

None

Return Value

The IList dispinterface.

Remarks

The List object contains an ordered list of string variables. Each variable contains the name of a project currently defined. You can use the name of a project to load the corresponding Project object.


Example

' VBScript and Windows Scripting Host
Option Explicit
Dim Manager
Dim Projects
Set Manager = CreateObject("Push.Manager")
Set Projects = Manager.GetProjects()
For Each Project in Projects
 wscript.echo Project
Next

See Also

Class List


© 1997-2000 Microsoft Corporation. All rights reserved.