Servers
Servers presents a collection interface to use within a Project object. It exposes each of the OLE servers defined within your project Usage | oServer = oProject.Servers.Item[ nIndex ] | oProject.Servers[ nIndex ] nCount = oProject.Servers.Count |
Parameter | Value | Meaning |
nIndex | Positive Integer | Enumerates a server item within the project. |
oServer | Server object | The server object returned from the collection. |
nCount | Integer | The number of servers defined within the project. |
Example | MODIFY PROJECT MySample NOWAIT oProject = _VFP.ActiveProject ? oProject.Servers.Count && displays the servers available FOR EACH oServer in oProject.Servers ? oServer.CLSID && display the Class ID for each NEXT |
See Also | Count Property, Item, Project, Server |
View Updates
Copyright © 2002 by Tamar E. Granor, Ted Roche, Doug Hennig, and Della Martin. All Rights Reserved.