You are here: Ektron Namespace > Web Services API > Ektron.Services Namespace > Classes > ContentRating Class > ContentRating Methods > PurgeContentRatings
Ektron CMS400.NET API Documentation
ContentsIndexHome
PreviousUpNext
ContentRating.PurgeContentRatings Method

Purges all ratings of a particular content block over a defined date/time range. 

This method can be accessed through the ContentRating.asmx file located in:

~/Workarea/webservices/WebServiceAPI/Content/ContentRating.asmx
C#
[SoapHeader("AuthHeader")]
[SoapHeader("RequestInfoHeader")]
[WebMethod(MessageName = "PurgeContentRatings", Description = "")]
public void PurgeContentRatings(long contentid, DateTime startDate, DateTime endDate);
Visual Basic
<SoapHeader("AuthHeader")>
<SoapHeader("RequestInfoHeader")>
<WebMethod(MessageName = "PurgeContentRatings", Description = "")>
Public Function PurgeContentRatings(contentid As long, startDate As DateTime, endDate As DateTime) As void
Parameters 
Description 
contentid 
The ID of the content that is having its ratings purged. 
startDate 
The beginning of the date range of content to be purged. 
endDate 
The end of the date range of content to be purged. 
Created with a commercial version of Doc-O-Matic. In order to make this message disappear you need to register this software. If you have problems registering this software please contact us at [email protected].
Copyright (c) 2008. All rights reserved.
What do you think about this topic? Send feedback!