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
context
Type: Microsoft.SharePoint.Client.ClientRuntimeContextThe SharePoint client run-time context.
objectPath
Type: Microsoft.SharePoint.Client.ObjectPathThe path of the Project Web App instance.