SuggestionManager.AddMultiple Method
Adds multiple suggestions for the user with a single specified type and with the specified string and weights.
Namespace: Microsoft.Office.Server.UserProfiles
Assembly: Microsoft.Office.Server.UserProfiles (in Microsoft.Office.Server.UserProfiles.dll)
Syntax
'Declaration
Public Sub AddMultiple ( _
type As SuggestionType, _
suggestions As KeyValuePair(Of String, Double)() _
)
'Usage
Dim instance As SuggestionManager
Dim type As SuggestionType
Dim suggestions As KeyValuePair(Of String, Double)()
instance.AddMultiple(type, suggestions)
public void AddMultiple(
SuggestionType type,
KeyValuePair<string, double>[] suggestions
)
Parameters
- suggestions
Type: []
Remarks
This method updates the weight of a suggestion if it already exists. If a suggestion's SuggestionStatus is Rejected, then the request is ignored.