ResourcePlan constructor

Creates a ResourcePlan object from the ASMX-based ResourcePlan web service.

Namespace:  WebSvcResourcePlan
Assembly:  ProjectServerServices (in ProjectServerServices.dll)

Syntax

'Declaration
Public Sub New
'Usage

Dim instance As New ResourcePlan()
public ResourcePlan()

Remarks

The Resource Plan PSI is deprecated. It will continue to be supported for Project 2013 development, but will not be supported in future releases.

To create an object that is equivalent to ResourcePlan by using the Windows Communication Foundation (WCF) API, use one of the ResourcePlanClient constructors.

Examples

In the following statement, ResourcePlanWebSvc is an arbitrary namespace for the ASMX-based ResourcePlan web service.

private static ResourcePlanWebSvc.ResourcePlan resourcePlan = new ResourcePlanWebSvc.ResourcePlan();

In the following statement, SvcResourcePlan is an arbitrary namespace for the WCF-based ResourcePlan 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 SvcResourcePlan.ResourcePlanClient resourcePlanClient = new SvcResourcePlan.ResourcePlanClient(endpt);

See also

Reference

ResourcePlan class

ResourcePlan members

WebSvcResourcePlan namespace