You are currently browsing legacy 3.0 version of documentation. Click here to switch to the newest 5.2 version.
DeleteAttachment is used to remove an attachment from a database.
void DeleteAttachment(string key, Etag etag);
|key||string||key of an attachment to delete|
|etag||Etag||current attachment etag, used for concurrency checks (
store .DatabaseCommands .DeleteAttachment("albums/holidays/sea.jpg", null);