Share via


ProjectServer constructor (ClientRuntimeContext, ObjectPath)

Initializes a ProjectServer object by using the SharePoint client run-time context and the Project Web App path.

Namespace:  Microsoft.ProjectServer.Client
Assembly:  Microsoft.ProjectServer.Client (in Microsoft.ProjectServer.Client.dll)

Syntax

'Declaration
Public Sub New ( _
    context As ClientRuntimeContext, _
    objectPath As ObjectPath _
)
'Usage
Dim context As ClientRuntimeContext
Dim objectPath As ObjectPath

Dim instance As New ProjectServer(context, _
    objectPath)
public ProjectServer(
    ClientRuntimeContext context,
    ObjectPath objectPath
)

Parameters

See also

Reference

ProjectServer class

ProjectServer members

ProjectServer overload

Microsoft.ProjectServer.Client namespace