Adds a document archive to the database
Namespace:
EPiServer.Community.DocumentArchive.DataAssembly: EPiServer.Community.DocumentArchive (in EPiServer.Community.DocumentArchive.dll) Version: 4.0.517.255
Syntax
| C# |
|---|
protected internal virtual DocumentArchive AddDocumentArchive( DocumentArchive archive ) |
Parameters
- archive
- Type: EPiServer.Community.DocumentArchive..::.DocumentArchive
DocumentArchive object
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
| Exception | Condition |
|---|---|
| System..::.ArgumentNullException | Thrown when archive is null. |