I recently published a post detailing the SharePoint 2010 SP1 PowerShell changes and, in that post, I mentioned that I was probably going to detail the API changes. Well, here they are. Note that the list below is not a comprehensive one in that I’m not showing every assembly (I do have the changes for every assembly but frankly I just got tired of translating the results into a readable format so I kept it to the more prominent assemblies (or at least the ones that I just happened to have done at the time)). In reviewing the list you see that there’s honestly not a whole lot of noteworthy changes, but that’s okay as part of my reasoning for doing this was to discover whether there were any (don’t get me wrong, there are some, in fact, for me there’s 1 very big one that made this whole exercise worth it – I’ll let you figure out which one that is). If you find any I missed please add a comment so that others can see it as well.
- Microsoft.SharePoint.dll
- Microsoft.SharePoint.SPRecycleBinItemType
- New enum value:
- Web
- New enum value:
- Microsoft.SharePoint.SPWeb
- New method:
- public void Recycle()
- New method:
- Microsoft.SharePoint.Strings
- New constants:
- public const string CannotRecycleRootWeb
- public const string HealthRule_Explanation_BcsShimsAreEnabled
- public const string HealthRule_Remedy_BcsShimsAreEnabled
- public const string RecycleBinWebMissingContainerError
- public const string SPStorageMetricsProcessingJobDescription
- public const string SPUsageUserCodeRequestsDescription
- public const string SPUsageUserCodeRequestsMonitoredDataDescription
- public const string SiteAlreadyExists
- public const string StorageMetricsDBObjectsNotFound
- public const string StorageMetricsFreshnessWarning
- public const string StorageMetricsNotAvailable
- public const string TimerJobTitleStorageMetricsProcessing
- New constants:
- Microsoft.SharePoint.Administration.SPAce<T>
- New properties:
- public Byte[] BinaryId() { get; }
- public Microsoft.SharePoint.Administration.SPIdentifierType BinaryIdType() { get; }
- New properties:
- Microsoft.SharePoint.Administration.SPAcl<T>
- New method:
- public SPAce<T> Add(string principalName, string displayName, SPIdentifierType identifierType, byte[] identifier, T grantRightsMask, T denyRightsMask)
- New method:
- Microsoft.SharePoint.Administration.SPContentDatabase
- New methods:
- public Microsoft.SharePoint.Administration.SPDeletedSite GetDeletedSite(System.Guid id)
- public void Move(SPContentDatabase destinationDb, List<SPSite> sitesToMove, Dictionary<string, string> rbsProviderMap, out Dictionary<SPSite, string> failedSites)
- New methods:
- Microsoft.SharePoint.Administration.SPContentDatabaseCollection
- New method:
- public SPContentDatabase Add(string strDatabaseServer, string strDatabaseName, string strDatabaseUsername, string strDatabasePassword, int warningSiteCount, int maximumSiteCount, int status, bool flushChangeLog, bool changeSyncKnowledge)
- New method:
- Microsoft.SharePoint.Administration.SPDatabase
- New method:
- public void ChangeDatabaseInstance(string databaseServiceInstance)
- New method:
- Microsoft.SharePoint.Administration.SPIncomingEmailService
- New property:
- public int RetryDeliveryInterval { get; set; }
- New property:
- Microsoft.SharePoint.Administration.SPPolicy
- New method:
- protected Void OnDeserialization()
- New method:
- Microsoft.SharePoint.Administration.SPSiteLookupProvider
- Changed method (breaking change!)
- public Void RenameHostHeaderSite(Guid siteId, string newHostHeader) => public Void RenameHostHeaderSite(Guid siteId, Uri newHostHeaderSiteUri)
- Changed method (breaking change!)
- Microsoft.SharePoint.Administration.SPUsageApplication
- New property:
- public int UsageInsertionTimeOut { get; set; }
- New property:
- Microsoft.SharePoint.Administration.SPUserCodeExecutionTier
- New property:
- public int PriorityPerProcess { get; set; }
- New property:
- Microsoft.SharePoint.Administration.SPWebApplication
- New properties:
- public int StorageMetricsProcessingDuration { get; set; }
- public uint MaxDiscussionBoardItemsForSiteDataFolderQuery { get; set; }
- public uint? UserDefinedWorkflowMaximumComplexity { get; set; }
- New methods:
- public SPDeletedSiteCollection GetDeletedSites()
- public SPDeletedSiteCollection GetDeletedSites(SPDeletedSiteQuery query)
- public SPDeletedSiteCollection GetDeletedSites(Guid siteId)
- public SPDeletedSiteCollection GetDeletedSites(string sitePath)
- public void MigrateUsers(IMigrateUserCallback callback)
- New properties:
- Microsoft.SharePoint.Administration.SPWebService
- New properties:
- public int ImagingDownloadSizeLimit { get; set; }
- public bool EnableHostHeaderSiteBasedSchemeSelection { get; set; }
- New properties:
- Microsoft.SharePoint.Administration.Claims.SPActiveDirectoryClaimProvider
- New method:
- protected override void FillDefaultLocalizedDisplayName(CultureInfo culture, out string localizedName)
- New method:
- Microsoft.SharePoint.Administration.Claims.SPAllUserClaimProvider
- New method:
- protected override void FillDefaultLocalizedDisplayName(CultureInfo culture, out string localizedName)
- New method:
- Microsoft.SharePoint.Administration.Claims.SPClaimHierarchyProvider
- New methods:
- protected override void FillDefaultLocalizedDisplayName(CultureInfo culture, out string localizedName)
- public string GetLocalizedDisplayName()
- New methods:
- Microsoft.SharePoint.Administration.Claims.SPClaimProvider
- New property:
- public virtual bool SupportsUserKey { get; }
- New methods:
- protected override void FillDefaultLocalizedDisplayName(CultureInfo culture, out string localizedName)
- public string GetLocalizedDisplayName()
- public SPClaim UserKeyForEntity(SPClaim entity)
- public virtual string GetClaimTypeForUserKey()
- protected virtual SPClaim GetUserKeyForEntity(SPClaim entity)
- New property:
- Microsoft.SharePoint.Administration.Claims.SPClaimProviderDefinition
- New property:
- public bool IsVisible { get; set; }
- New property:
- Microsoft.SharePoint.Administration.Claims.SPClaimProviderOperationOptions
- New enum value:
- OverrideVisibleFlag
- New enum value:
- Microsoft.SharePoint.Administration.Claims.SPFormsClaimProvider
- New method:
- protected override void FillDefaultLocalizedDisplayName(CultureInfo culture, out string localizedName)
- New method:
- Microsoft.SharePoint.Administration.Claims.SPSystemClaimProvider
- New method:
- protected override void FillDefaultLocalizedDisplayName(CultureInfo culture, out string localizedName)
- New method:
- Microsoft.SharePoint.BusinessData.Administration.LobSystem
- New static method:
- public static LobSystem MergeXml(string xml, out string[] errors, PackageContents packageContents, AdministrationMetadataCatalog metadataCatalog, string settingId)
- New static method:
- Microsoft.SharePoint.BusinessData.Administration.TypeDescriptor
- New static method:
- public static TypeDescriptor MergeXml(string xml, out string[] errors, PackageContents packageContents, Parameter parameter, TypeDescriptor parent, string settingId)
- New static method:
- Microsoft.SharePoint.BusinessData.SharedService.BdcServiceApplicationProxy
- New methods:
- public bool IsSystemTypeEnabled(SystemType systemType)
- public void EnableSystemType(SystemType systemType, bool value)
- New methods:
- Microsoft.SharePoint.JSGrid.GridSerializer
- New method:
- public void ApplyPostViewIncrementalInsertsAndDeletes(IEnumerable changes, Func fnGetDefaultValuesForPostViewInserts)
- New method:
- Microsoft.SharePoint.JSGrid.HierarchyNode
- New property:
- public HierarchyNode Parent { get; set; }
- New property:
- Microsoft.SharePoint.Utilities.SPUtility
- New static method:
- public static Stream ExecuteCellStorageBinaryRequest(SPFile spfile, Stream request, bool coalesce, ref Guid partitionID, string userName, bool coauthVersioning, string etagMatching, bool fExpectNoFileExists, string contentChangeUnit, string clientFileID, string bypassSchemaID, long nLockType, string lockID, long nTimeout, bool createParentFolder, out string etagReturn, out bool allRequestSucceeded, out int coalesceHRESULT, out string coalesceErrorMessage, out bool containHotboxData, out bool haveOnlyDemotionChanges, ref int binaryReqCountQuota)
- New static method:
- Microsoft.SharePoint.WebPartPages.ListFormWebPart
- New method:
- public bool ShouldSerializeTemplateName()
- New method:
- New classes:
- Microsoft.SharePoint.Administration.SPDeletedSite
- Microsoft.SharePoint.Administration.SPDeletedSiteCollection
- Microsoft.SharePoint.Administration.SPDeletedSiteLookupInfo
- Microsoft.SharePoint.Administration.SPDeletedSiteQuery
- Microsoft.SharePoint.Administration.SPUsageUserCodeRequests
- Microsoft.SharePoint.Administration.SPUsageUserCodeRequestsEntry
- Microsoft.SharePoint.Administration.SPUsageUserCodeRequestsMonitoredData
- Microsoft.SharePoint.Administration.SPUsageUserCodeRequestsMonitoredDataEntry
- Microsoft.SharePoint.Administration.Health.SPHealthAnalysisRuleInstance
- Microsoft.SharePoint.WebControls.IEVersionMetaTag
- New enum types:
- Microsoft.SharePoint.Administration.SPIdentifierType
- New interfaces:
- Microsoft.SharePoint.Administration.IMigrateUserCallback
- Microsoft.SharePoint.Administration.ISPSiteLookupProviderRecycleBin
- Microsoft.SharePoint.SPRecycleBinItemType
- Microsoft.SharePoint.Publishing.dll
- Microsoft.SharePoint.Publishing.Internal.CodeBehind
- New property:
- protected bool IsCurrentUserSiteAdmin { get; }
- New property:
- Microsoft.SharePoint.Publishing.WebControls.SpellCheckV4Action
- New method:
- protected bool ShouldRenderWithoutTabs()
- New method:
- Microsoft.SharePoint.Publishing.WebControls.EditingMenuActions.ConsoleAction
- New method:
- protected bool ShouldRenderWithoutTabs()
- New method:
- Microsoft.SharePoint.Publishing.Internal.CodeBehind
- Microsoft.SharePoint.Taxonomy.dll
- Microsoft.SharePoint.Taxonomy.TermStore
- New method:
- public Group GetSiteCollectionGroup(SPSite currentSite)
- New method:
- Microsoft.SharePoint.Taxonomy.TermStore
- Microsoft.SharePoint.Portal.dll
- Microsoft.Office.Server.UserProfiles.UserProfileService
- New methods:
- public void AddLeader(string accountName)
- public Leader[] GetLeaders()
- public void RemoveLeader(string accountName)
- New methods:
- Microsoft.Office.Server.UserProfiles.UserProfileService
- Microsoft.Office.Server.UserProfiles.dll
- Microsoft.Office.Server.SocialData.PluggableSocialSecurityTrimmerManager
- New methods:
- public static string[] GetUrlFoldersRequiringTrim(SPServiceContext serviceContext)
- public static string[] GetUrlFoldersToAlwaysAllow(SPServiceContext serviceContext)
- public static void SetTrimmerSettings(SPServiceContext serviceContext, bool enableTrimming)
- public static void SetTrimmerSettings(SPServiceContext serviceContext, string[] urlFoldersRequiringTrim, string[] urlFoldersToAlwaysAllow)
- New methods:
- Microsoft.Office.Server.UserProfiles.BusinessDataCatalogConnection
- New method:
- public void Delete()
- New method:
- Microsoft.Office.Server.UserProfiles.ConnectionManager
- New method:
- public DirectoryServiceConnection AddActiveDirectoryConnection(ConnectionType type, string displayName, string server, bool useSSL, string accountDomain, string accountUsername, SecureString accountPassword, List<DirectoryServiceNamingContext> namingContexts, string spsClaimProviderTypeValue, string spsClaimProviderIdValue, string adClaimIDMapAttribute)
- New method:
- Microsoft.Office.Server.UserProfiles.UserProfileManager
- New methods:
- public void AddLeader(string accountName)
- public Leader[] GetLeaders()
- public void RemoveLeader(string accountName)
- New methods:
- New classes:
- Microsoft.Office.Server.UserProfiles.Leader
- Microsoft.Office.Server.SocialData.PluggableSocialSecurityTrimmerManager
- Microsoft.Office.Server.Search.dll
- Microsoft.Office.Server.Search.Administration.CrawlTopologyState
- New enum values:
- ActiveToBeRemoved
- DeactivatingToBeRemoved
- New enum values:
- Microsoft.Office.Server.Search.Administration.SearchServiceApplication
- New property:
- public uint CrawlLogCleanupIntervalInDays { get; set; }
- New property:
- Microsoft.Office.Server.Search.Administration.SearchServiceApplicationProxy
- New property:
- public LocationConfigurationCollection LocationConfigurations { get; }
- New property:
- Microsoft.Office.Server.Search.Query.QueryInfo
- New property:
- public string CorrelationId { get; set; }
- New property:
- Microsoft.Office.Server.Search.Query.QueryManager
- New method:
- public System.Xml.XmlDocument GetResults()
- New method:
- Microsoft.Office.Server.Search.Administration.CrawlTopologyState
- Microsoft.SharePoint.PowerShell.dll
- New classes:
- Microsoft.SharePoint.PowerShell.SPDeletedSitePipeBind
- Microsoft.SharePoint.PowerShell.SPHealthAnalysisRuleInstancePipeBind
- New classes: