| PublishingSystemManagerServicesAddReplicationTarget Method | 
Namespace: IngeniuxCMService
 Syntax
Syntaxpublic XHRServiceResponseGeneric<string> AddReplicationTarget( string pubTargetId, ReplicationTargetInput repTargetInfo )
Information of the replication target to add
 Examples
ExamplesSample JSON input
{
  "type": "FileReplicationTarget",
  "data": "{\"Disabled\":false,\"ID\":\"\",\"Name\":\"Staging Replication Target\",\"Description\":\"Replication Target for Staging Site\",\"TargetLocation\":\"f:\\\\igxsites\\\\mysite\",\"CompareContent\":false,\"UseCommands\":false,\"PreReplicationCommand\":\"\",\"PreReplicationCommandTimeout\":10,\"PostReplicationCommand\":\"\",\"PostReplicationCommandTimeout\":10,\"UseImpersonation\":false,\"ImpersonateUserName\":\"\",\"ImpersonateUserDomain\":\"\",\"ImpersonatePassword\":\"\"}",
  "exemptLocations": [],
  "additionalLocations": [],
  "cleanupExemptLocations": []
}The unique id of created replication target
 See Also
See Also