Click or drag to resize

IReplicationTargetAddAdditionalLocation Method


Adds a new Additional Location to this replication target.

Namespace:  Ingeniux.CMS
Assembly:  Ingeniux.CMS.CSAPI (in Ingeniux.CMS.CSAPI.dll) Version: 10.3.169
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: IReplicationAdditionalLocation
Added new Additional Location
Exceptions
ExceptionCondition
ArgumentNullExceptionWhen 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