DocumentHelperDeleteDocumentAttachments Method |
Deletes attachments from the specified documents, including versioning consideration.
Namespace: CMS.DocumentEngineAssembly: CMS.DocumentEngine (in CMS.DocumentEngine.dll) Version: 8.2.23
Syntax public static void DeleteDocumentAttachments(
string className,
string guidColumnName,
TreeProvider tree
)
Parameters
- className
- Type: SystemString
Document class name - guidColumnName
- Type: SystemString
Column containing the Attachment GUID - tree
- Type: CMS.DocumentEngineTreeProvider
TreeProvider to use
See Also