[This is preliminary documentation and is subject to change.]
Returns a dataset of all the Forums belonging to the
currently selected Group.
Namespace:
OfficeClip.DBLayer.OfficePortalAssembly: OfficeClip.DBLayer (in OfficeClip.DBLayer)
Version: 8.1.1.0
Syntax
C# |
---|
public DataSet GetSearchResults( int forumId, int numDays, int allGroups, string matchAll, string searchFor, int userId, int groupId ) |
Visual Basic (Declaration) |
---|
Public Function GetSearchResults ( _ forumId As Integer, _ numDays As Integer, _ allGroups As Integer, _ matchAll As String, _ searchFor As String, _ userId As Integer, _ groupId As Integer _ ) As DataSet |
Visual C++ |
---|
public: DataSet^ GetSearchResults( int forumId, int numDays, int allGroups, String^ matchAll, String^ searchFor, int userId, int groupId ) |
Parameters
- forumId
- Type: System..::.Int32
The Id of the forum to look for. If 0 then search in all forums
- numDays
- Type: System..::.Int32
The number of days to look for. If 0 then do not consider date as a criteria
- allGroups
- Type: System..::.Int32
Flag to indicate whether all groups are selected or not. Contains value 0 or 1
- matchAll
- Type: System..::.String
Based on how many words are there this paramter tells whether to look for all the matching words or any of the words that is matching.
- searchFor
- Type: System..::.String
The text pattern to search for. If there are blank spaces in the text pattern, use it as a delimiter to identify words to look for.
- userId
- Type: System..::.Int32
The unique id for the user.
- groupId
- Type: System..::.Int32
The unique id for the group.
Return Value
The DataSet containing the list of all the search results. DataSet contains a single table with following columns.- forumName (System.String) The name of the forum.
- forumId (System.Int32) Id of the forum.
- topicDesc (System.String) Topic Description.
- topicId (System.Int32) Id of the topic.
- topicName (System.String) Topic name.
- topicTimestamp (System.DateTime) Date and time when the topic was posted.
- groupName (System.String) Name of the group for which the topic is created.