IReplicationTargetAddExemptLocation Method
|
Namespace: Ingeniux.CMSAssembly: Ingeniux.CMS.CSAPI (in Ingeniux.CMS.CSAPI.dll) Version: 10.6.492
SyntaxIReplicationExemption AddExemptLocation(
string locationPath,
bool exemptAllFiles,
string exemptSearchPatters = "",
bool exemptDescendants = true
)
Function AddExemptLocation (
locationPath As String,
exemptAllFiles As Boolean,
Optional exemptSearchPatters As String = "",
Optional exemptDescendants As Boolean = true
) As IReplicationExemption
IReplicationExemption^ AddExemptLocation(
String^ locationPath,
bool exemptAllFiles,
String^ exemptSearchPatters = L"",
bool exemptDescendants = true
)
abstract AddExemptLocation :
locationPath : string *
exemptAllFiles : bool *
?exemptSearchPatters : string *
?exemptDescendants : bool
(* Defaults:
let _exemptSearchPatters = defaultArg exemptSearchPatters ""
let _exemptDescendants = defaultArg exemptDescendants true
*)
-> IReplicationExemption Parameters
- locationPath String
- Path of exemption that is relative to the Publishing Target Folder
- exemptAllFiles Boolean
- Whether to excude all Files in this location
- exemptSearchPatters String (Optional)
- The search pattern for Files that will be excluded. Only applies when the exemptAllFiles paramter value is false
- exemptDescendants Boolean (Optional)
- Whether to exclude all descendant Directories of this location
Return Value
IReplicationExemptionNewly added exempt location
Exceptions
RemarksThe locationPath value doesn't have to point to the existing location when calling this method. However, if it still doesn't exist during replication, an error will be thrown.
See Also