PublishingMonitorServicesGetRepLogsForRepTarget Method
|
Retrieves the Replication Logs for specific Replication Target under a Publishing Target
Namespace:
IngeniuxCMService
Assembly:
IngeniuxCMService (in IngeniuxCMService.dll) Version: 10.3.169
Syntax public 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: SystemString
Id of Publishing Target - repTargetId
- Type: SystemString
Id of Replication Target, must be under the given Publishing Target - start
- Type: SystemInt32
Starting index - count
- Type: SystemInt32
Number of items to return
Return Value
Type:
XHRServiceResponseGenericReplicationLogSummaryReturnCollection 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"
}]
}
Remarks Event 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