PublishingMonitorServices.GetRepLogsForRepTarget Method
|
Retrieves the Replication Logs for specific Replication Target under a Publishing Target
Namespace:
IngeniuxCMService
Assembly:
IngeniuxCMService (in IngeniuxCMService.dll) Version: 10.6.308
Syntaxpublic XHRServiceResponseGeneric<ReplicationLogSummaryReturn> GetRepLogsForRepTarget(
string pubTargetId,
string repTargetId,
int start,
int count
)
Public Function GetRepLogsForRepTarget (
pubTargetId As String,
repTargetId As String,
start As Integer,
count As Integer
) As XHRServiceResponseGeneric(Of ReplicationLogSummaryReturn)
public:
virtual XHRServiceResponseGeneric<ReplicationLogSummaryReturn^>^ GetRepLogsForRepTarget(
String^ pubTargetId,
String^ repTargetId,
int start,
int count
) sealed
abstract GetRepLogsForRepTarget :
pubTargetId : string *
repTargetId : string *
start : int *
count : int -> XHRServiceResponseGeneric<ReplicationLogSummaryReturn>
override GetRepLogsForRepTarget :
pubTargetId : string *
repTargetId : string *
start : int *
count : int -> XHRServiceResponseGeneric<ReplicationLogSummaryReturn>
Parameters
- pubTargetId
- Type: System.String
Id of Publishing Target - repTargetId
- Type: System.String
Id of Replication Target, must be under the given Publishing Target - start
- Type: System.Int32
Starting index - count
- Type: System.Int32
Number of items to return
Return Value
Type:
XHRServiceResponseGeneric<ReplicationLogSummaryReturn>Collection of Replication Log entries, contains basic information of each log
Examples
Sample JSON return
{
"code": 0,
"error": null,
"message": [{
"FileName": "replicationLog_PublishingTargets_1_bc24ec5353c9417590dbcc27ee56f005_2014-01-28-21-08-52.xml",
"ReplicationTargetID": "20",
"StartTime": "2014-01-28-21-08"
}, {
"FileName": "replicationLog_PublishingTargets_1_bc24ec5353c9417590dbcc27ee56f005_2014-01-28-21-07-36.xml",
"ReplicationTargetID": "20",
"StartTime": "2014-01-28-21-07"
}]
}
RemarksEvent if Publishing Target or Replication Target no longer exist, there are might still be logs kept around.
If Replication Target is not under Publishing Target, we will have empty collection returned.
See Also