IReplicationTargetAddAdditionalLocation Method
|
Namespace:
Ingeniux.CMS
Assembly:
Ingeniux.CMS.CSAPI (in Ingeniux.CMS.CSAPI.dll) Version: 10.3.169
Syntax IReplicationAdditionalLocation AddAdditionalLocation(
string sourcePath,
string targetPath
)
Function AddAdditionalLocation (
sourcePath As String,
targetPath As String
) As IReplicationAdditionalLocation
IReplicationAdditionalLocation^ AddAdditionalLocation(
String^ sourcePath,
String^ targetPath
)
abstract AddAdditionalLocation :
sourcePath : string *
targetPath : string -> IReplicationAdditionalLocation
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 LocationExceptions 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