Removes a DocumentArchive from the database.
Namespace:
EPiServer.Community.DocumentArchive.DataAssembly: EPiServer.Community.DocumentArchive (in EPiServer.Community.DocumentArchive.dll) Version: 4.1.517.358
Syntax
| C# |
|---|
protected internal virtual void RemoveDocumentArchive( DocumentArchive archive ) |
Parameters
- archive
- Type: EPiServer.Community.DocumentArchive..::.DocumentArchive
The DocumentArchive to remove.
Exceptions
| Exception | Condition |
|---|---|
| System..::.ArgumentNullException | Thrown when archive is null. |