Condividi tramite


Archive Class

Includes methods for managing backup and restore operations by using the Archive database in Project Server.

Inheritance Hierarchy

System.Object
  System.MarshalByRefObject
    System.ComponentModel.Component
      System.Web.Services.Protocols.WebClientProtocol
        System.Web.Services.Protocols.HttpWebClientProtocol
          System.Web.Services.Protocols.SoapHttpClientProtocol
            [Archive Web service].Archive

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

Syntax

'Declaration
<WebServiceBindingAttribute(Name := "ArchiveSoap", Namespace := "https://schemas.microsoft.com/office/project/server/webservices/Archive/")> _
Public Class Archive _
    Inherits SoapHttpClientProtocol
'Usage
Dim instance As Archive
[WebServiceBindingAttribute(Name = "ArchiveSoap", Namespace = "https://schemas.microsoft.com/office/project/server/webservices/Archive/")]
public class Archive : SoapHttpClientProtocol

Remarks

The Archive class includes the following kinds of archival methods:

  • Allows a user to manage interactions between active projects and archived projects.

  • Allows a user to set scheduling information for archive operations.

  • Allows a user to determine archive retention parameters.

The Project Server Archive pages in Project Web App use many of the Archive class methods. If you have administrator permission, click Server Settings in Project Web App.

The following methods are located in other PSI web services:

  • For administration functions, see the Admin class.

  • For managing permissions, see the Security class.

  • For managing Project Server event handler associations, see the Events class.

  • For managing SharePoint sites for projects, see the WssInterop class.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

Archive Members

Archive Web Service