Adds a document archive to the database

Namespace:  EPiServer.Community.DocumentArchive.Data
Assembly:  EPiServer.Community.DocumentArchive (in EPiServer.Community.DocumentArchive.dll) Version: 4.0.517.255

Syntax

C#
protected internal virtual DocumentArchive AddDocumentArchive(
	DocumentArchive archive
)

Return Value

The newly added DocumentArchive with its unique identifier set.

Remarks

Do not use this method directly in your code. It is intended for use within EPiServerCommunity only.

Exceptions

ExceptionCondition
System..::.ArgumentNullExceptionThrown when archive is null.

See Also