Share via


SharePoint Portal Server 2003 APIs that Do Not Work in Office SharePoint Server 2007

The list of Microsoft Office SharePoint Server 2003 APIs in this topic and their functionality in or removal from Microsoft Office SharePoint Server 2007 is a work in progress. This list will be updated as new information becomes available.

APIs that Do Not Work

APIs that Do Not Work Comments Workaround, If Any

PortalUrl constructor

Exception of type System.InvalidOperationException occurs in Office SharePoint Server 2007.

Use a try/catch block around any PortalUrl constructors.

Removed APIs or Members

The following APIs have been removed from the public Office SharePoint Server 2007 object model because the search, alerts, areas, and site data model functionality has changed substantially. As a result, these APIs are no longer needed in Office SharePoint Server 2007.

Removed API or Member Comments Workaround, if any

UserProfile.Alerts property

Microsoft.SharePoint.Portal.Integration.OfficeDialogprocessor

Microsoft.SharePoint.Portal.Integration.RootWebToucher

Microsoft.SharePoint.Portal.SiteData.Area

  • AddKeyword()

  • RemoveKeyword()

  • UpdateWithDuplicatedKeywordDetection()

  • IsAutoCat

  • IsKeywordItem

  • OwnerGuid

  • Synonyms

Microsoft.SharePoint.Portal.SiteData.AreaListing

  • IndexCatalog

  • IndexScope

  • Indexable

  • IsKeywordItem

  • PersonGuid

Microsoft.SharePoint.Portal.SiteData.AreaListingTemplate

Microsoft.SharePoint.Portal.SiteData.AreaManager

  • CreateDocumentLibraryArea()

  • RemoveDocumentLibraryArea()

  • SuggestDeepCrawl()

Microsoft.SharePoint.Portal.SiteData.AreaTemplate

Microsoft.SharePoint.Portal.SiteData.BucketWebSecurityProvider

Microsoft.SharePoint.Portal.SiteData.CategoryWebSecurityProvider

Microsoft.SharePoint.Portal.SiteData.CrawlBucketNotExistException

Microsoft.SharePoint.Portal.SiteData.AreaListing

Microsoft.SharePoint.Portal.SiteData.CrawlFolderNotSupportedException

Microsoft.SharePoint.Portal.SiteData.CrawlItemNotExistException

Microsoft.SharePoint.Portal.SiteData.DeepCrawlSuggestionFailureException

Microsoft.SharePoint.Portal.SiteData.KeywordDuplicateException

Microsoft.SharePoint.Portal.SiteData.PortalRoleSetting

Microsoft.SharePoint.Portal.SiteData.ProvisionAreaFailureException

Microsoft.SharePoint.Portal.SiteData.TooManySynonymsException

Microsoft.SharePoint.Portal.SiteData.WebOutOfSyncException

Microsoft.SharePoint.Portal.Admin.Search

public class AlertsService : Service

Use the Windows SharePoint Services 3.0 alerts infrastructure and the SPTimer object instead.

public class AlertsServiceCollection : ServiceCollection

Use the Windows SharePoint Services 3.0 alerts infrastructure and the SPTimer object instead.

All backup and restore APIs

Use Windows SharePoint Services 3.0 Backup and Restore APIs.

BaseAreaWebPart does not support the following properties:

  • ImageUrl

  • IconUrl

  • Contact Name

  • Contact Picture

  • Contact E-mail

  • Start Date

  • End Date