Share via


SPSolutionLanguagePackCollection.Remove method

Removes the language pack from the collection of language packs.

Overload list

  Name Description
Public method Remove(Guid) Removes the language pack with the specified GUID from the collection of language packs. (Overrides SPPersistedChildCollection<T>.Remove(Guid).)
Public method Remove(UInt32) Removes the language pack with the specified locale identifier from the collection of language packs.

Top

Remarks

Do not remove the last language pack from the collection. If all the language packs have been removed from the collection, an error is raised when you attempt to remove the associated language-neutral solution from SPSolutionCollection. Once all language packs are removed for a solution, you can only remove the solution using the solution's Delete method.

See also

Reference

SPSolutionLanguagePackCollection class

SPSolutionLanguagePackCollection members

Microsoft.SharePoint.Administration namespace