Project constructor
Creates a Project object from the ASMX-based Project web service.
Namespace: WebSvcProject
Assembly: ProjectServerServices (in ProjectServerServices.dll)
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, WebSvcProject is an arbitrary namespace for the ASMX-based Project web service.
private static WebSvcProject.Project project = new WebSvcProject.Project();
In the following statement, WebSvcProject 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 WebSvcProject.ProjectClient projectClient = new WebSvcProject.ProjectClient(endpt);