ObjectLinkProvider Constructor

Creates an ObjectLinkProvider object from the ASMX-based ObjectLinkProvider web service.

Namespace:  [ObjectLinkProvider Web service]
Service reference: http://ServerName:32843/[Project Service Application GUID]/PSI/ObjectLinkProvider.svc
Web service reference: http://ServerName/ProjectServerName/_vti_bin/PSI/ObjectLinkProvider.asmx?wsdl


Public Sub New

Dim instance As New ObjectLinkProvider()
public ObjectLinkProvider()


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


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

private static ObjectLinkProviderWebSvc.ObjectLinkProvider objectLinkProvider = new ObjectLinkProviderWebSvc.ObjectLinkProvider();

In the following statement, SvcObjectLinkProvider is an arbitrary namespace for the WCF-based ObjectLinkProvider 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 SvcAdmin.ObjectLinkProvider objectLinkProviderClient = new SvcObjectLinkProvider.ObjectLinkProviderClient(endpt);

See Also


ObjectLinkProvider Class

ObjectLinkProvider Members

ObjectLinkProvider Web Service