共用方式為


WssInterop Web Service

The WssInterop class is the primary class in the [WssInterop Web service] namespace. The WssInterop class includes methods that manage project sites.

Note

In the ASMX web service, WssInterop is a class. In the WCF service, WssInterop is an interface that is implemented in the WssInteropClient class. For information about using the WssInteropClient class in a WCF-based application, see the WssInterop class constructor.

The [WssInterop Web service] namespace is an arbitrary name for a reference to the WssInterop.asmx web service (or the WssInterop.svc service) of the PSI in Microsoft Project Server 2010. Methods in the WssInterop class can create or delete a Microsoft SharePoint Server 2010 site for projects, get information about or update the SharePoint sites and settings in a farm, synchronize or update user memberships in SharePoint sites, and determine whether a SharePoint web exists.

The Project Sites and Project Site Provisioning Settings pages in Project Web App use the WssInterop class methods. For example, you can set the site URL and default project site properties on the Project Site Provisioning Settings page (https://ServerName/ProjectServerName/_layouts/pwa/Admin/WorkspaceProvisioningSettings.aspx), and synchronize Project Server users on the Project Sites page (https://ServerName/ProjectServerName/_layouts/pwa/Admin/ManageWSS.aspx).

The WssInterop class methods generally use or return one of the following objects:

Classes

  Class Description
Public class ProjectWSSInfoDataSet Used to maintain project sites and associated SharePoint site data.
Public class ProjectWSSInfoDataSet.ProjWssInfoDataTable Contains a collection of project site and SharePoint site interoperability data associated with a Project Web App site.
Public class ProjectWSSInfoDataSet.ProjWssInfoRow Specifies a row of SharePoint site information that allows interoperability of project sites with Project Server.
Public class ProjectWSSInfoDataSet.ProjWssInfoRowChangeEvent Event that occurs when data in a ProjWssInfoRow is changed.
Public class WssInterop Includes methods for managing SharePoint sites for project sites in Project Server.
Public class WssServersDataSet Contains a list of Microsoft SharePoint Server 2010 installations that are used by Project Web App.
Public class WssServersDataSet.WssServersDataTable Contains information about SharePoint servers associated with Project Web App.
Public class WssServersDataSet.WssServersRow Specifies a SharePoint server that is associated with Project Web App.
Public class WssServersDataSet.WssServersRowChangeEvent Event that occurs when data in a WssServersRow is changed.
Public class WssSettingsDataSet Contains a collection of administration information for SharePoint sites that are associated with Project Web App.
Public class WssSettingsDataSet.WssAdminDataTable Contains SharePoint site administration information for project sites.
Public class WssSettingsDataSet.WssAdminRow Contains project site administration information and SharePoint site interoperability data for one project.
Public class WssSettingsDataSet.WssAdminRowChangeEvent Event that occurs when data in a WssAdminRow is changed.

Delegates

  Delegate Description
Public delegate ProjectWSSInfoDataSet.ProjWssInfoRowChangeEventHandler Represents the method that handles events which occur when an action is performed on the data row.
Public delegate WssServersDataSet.WssServersRowChangeEventHandler Represents the method that handles events which occur when an action is performed on the data row.
Public delegate WssSettingsDataSet.WssAdminRowChangeEventHandler Represents the method that handles events which occur when an action is performed on the data row.