Adds a new Additional Location to this replication target.
Namespace: Ingeniux.CMS
Assembly: Ingeniux.CMS.CSAPI (in Ingeniux.CMS.CSAPI.dll) Version: 9.0.565.0 (9.0.565)
Syntax
IReplicationAdditionalLocation AddAdditionalLocation( string sourcePath, string targetPath )
Parameters
- sourcePath
- Type: SystemString
Absolute path of the source Directory to be copied to the replication destination - targetPath
- Type: SystemString
The relative path of the replication destination to the content of the source path
Return Value
Type: IReplicationAdditionalLocationAdded new Additional Location
Exceptions
Exception | Condition |
---|---|
ArgumentNullException | When either the "sourcePath" or "targetPath" parameter value is null or empty. |
Remarks
Both "sourcePath" and "targetPath" don't have to exist when calling this method. However, if they still don't exist during replication, an error will be thrown.
See Also