IReplicationTargetAddCleanupExemption Method
|
Namespace:
Ingeniux.CMS
Assembly:
Ingeniux.CMS.CSAPI (in Ingeniux.CMS.CSAPI.dll) Version: 10.3.169
Syntax IReplicationCleanupExemption AddCleanupExemption(
string locationPath,
bool exemptAllFiles,
string exemptSearchPatters = "",
bool exemptDescendants = true
)
Function AddCleanupExemption (
locationPath As String,
exemptAllFiles As Boolean,
Optional exemptSearchPatters As String = "",
Optional exemptDescendants As Boolean = true
) As IReplicationCleanupExemption
IReplicationCleanupExemption^ AddCleanupExemption(
String^ locationPath,
bool exemptAllFiles,
String^ exemptSearchPatters = L"",
bool exemptDescendants = true
)
abstract AddCleanupExemption :
locationPath : string *
exemptAllFiles : bool *
?exemptSearchPatters : string *
?exemptDescendants : bool
(* Defaults:
let _exemptSearchPatters = defaultArg exemptSearchPatters ""
let _exemptDescendants = defaultArg exemptDescendants true
*)
-> IReplicationCleanupExemption
Parameters
- locationPath
- Type: SystemString
Path of exemption that is relative to replication destination location - exemptAllFiles
- Type: SystemBoolean
Whether to excude all Files in this location from cleanup - exemptSearchPatters (Optional)
- Type: SystemString
The search pattern for Files that will be excluded from cleanup. Only applies when the exemptAllFiles paramter value is false - exemptDescendants (Optional)
- Type: SystemBoolean
Whether to exclude all descendant Directories of this location from cleanup
Return Value
Type:
IReplicationCleanupExemptionNewly added
Cleanup Exempt LocationExceptions Remarks The locationPath value doesn't have to point to an existing location when calling this method. However, if this location still doesn't exist during replication, an error will be thrown.
See Also