IReplicationTargetAddAdditionalLocation Method
|
Namespace: Ingeniux.CMSAssembly: Ingeniux.CMS.CSAPI (in Ingeniux.CMS.CSAPI.dll) Version: 10.6.492
SyntaxIReplicationAdditionalLocation 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 String
- Absolute path of the source Directory to be copied to the replication destination
- targetPath String
- The relative path of the replication destination to the content of the source path
Return Value
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