Permanently deletes all Files that match the Source and Pk - except if there are other Related Items.

Syntax

finDocumentFiles.DeleteRelatedSource(source, sourcePk, [deleteFiles], [deleteMetadata])

Parameters

NameTypeOptionalByRefDescription
source isefinDocumentManagerFileSource The Source.
sourcePk Integer The Source Pk.
deleteFiles Boolean Optional Indicates whether to delete Files. If omitted, a value of True is assumed.
deleteMetadata Boolean Optional Indicates whether to delete Meta data. If omitted, a value of True is assumed.

Return Value

Boolean

A Boolean value indicating success.

Member of:
finDocumentFiles
Namespace:
Intersoft.finSupport6
Assembly:
finSupport6, Version=6.0.3
Target Framework:
.NET 9.0