You are here: Ektron Namespace > .NET Assemblies > Ektron.Cms.API Namespace > Ektron.Cms.API.Community Namespace > Classes > MessageBoard Class > MessageBoard Methods > IsSpam
Ektron CMS400.NET API Documentation
ContentsIndexHome
PreviousUpNext
MessageBoard.IsSpam Method

This function evaluates if the new message is spam or not based on the spam filter selected.

C#
public Boolean IsSpam(Long objectId, EkEnumeration.MessageBoardObjectType objectType, Long userId, String messageText, EkEnumeration.MessageBoardSpamControlType spamControlType, int interval);
Visual Basic
Public Function IsSpam(ByVal objectId As Long, ByVal objectType As EkEnumeration.MessageBoardObjectType, ByVal userId As Long, ByVal messageText As String, ByVal spamControlType As EkEnumeration.MessageBoardSpamControlType, ByVal interval As Integer) As Boolean
Parameters 
Description 
objectId 
The id of the object that has the message board. 
objectType 
The type of object. 
userId 
The Id of the user entering the message. 
messageText 
The text of the message. 
spamControlType 
The type of spam filter selected. 
interval 
The time interval for the spam filter. 
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!