Project Constructor
Creates a Project object from the ASMX-based Project web service.
Namespace: [Project Web service]
Service reference: http://ServerName:32843/[Project Service Application GUID]/PSI/Project.svc
Web service reference: http://ServerName/ProjectServerName/_vti_bin/PSI/Project.asmx?wsdl
Syntax
'Declaration
Public Sub New
'Usage
Dim instance As New Project()
public Project()
Remarks
To create an object that is equivalent to Project by using the Windows Communication Foundation (WCF) API, use one of the ProjectClient constructors.
Examples
In the following statement, ProjectWebSvc is an arbitrary namespace for the ASMX-based Project web service.
private static ProjectWebSvc.Project project = new ProjectWebSvc.Project();
In the following statement, SvcProject is an arbitrary namespace for the WCF-based Project web service. The endpt parameter is a String value that specifies the name of the client endpoint address in the app.config file (or in the web.config file for web applications).
private static SvcProject.ProjectClient projectClient = new SvcProject.ProjectClient(endpt);