Search the forums

Namespace: SynergyServerScripting.Entities
Assembly: SynergyServerScripting (in SynergyServerScripting.dll)

Public Shared Function SearchForums( _ 
ByVal query As String, _ 
ByVal user_id As EntityID, _ 
ByVal limit_id As EntityID, _ 
ByVal limit As ForumSearchLimit, _ 
ByVal db As IDatabase
) As List(Of ForumTopic)
This language is not supported or no code example is available.
public static List<ForumTopic> SearchForums( 
string query
EntityID user_id
EntityID limit_id
ForumSearchLimit limit
IDatabase db 
)
This language is not supported or no code example is available.
public:  
static List<ForumTopic^>^ SearchForums( 
String^ query
EntityID^ user_id
EntityID^ limit_id
ForumSearchLimit limit
IDatabase^ db 
)
This language is not supported or no code example is available.
JScript does not support generic types and methods.
This language is not supported or no code example is available.

Parameters

query
Type: string

the query text to use

user_id
Type: EntityID

the id of the user doing the search, for permission purposes

limit_id
Type: EntityID

an id, if we're limiting to a forum or category

limit
Type: ForumSearchLimit

the limit type

db
Type: IDatabase

the db to use

Return Value

Type: List<ForumTopic>

the list of forum topics

.NET Framework

Supported in: 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1