SuggestionManager.Add Method (SuggestionType, String, Double, SuggestionStatus)
Adds a suggestion for the user with the specified type, string, weight, and status.
Namespace: Microsoft.Office.Server.UserProfiles
Assembly: Microsoft.Office.Server.UserProfiles (in Microsoft.Office.Server.UserProfiles.dll)
Syntax
'Declaration
Public Function Add ( _
type As SuggestionType, _
suggestion As String, _
weight As Double, _
status As SuggestionStatus _
) As Suggestion
'Usage
Dim instance As SuggestionManager
Dim type As SuggestionType
Dim suggestion As String
Dim weight As Double
Dim status As SuggestionStatus
Dim returnValue As Suggestion
returnValue = instance.Add(type, suggestion, _
weight, status)
public Suggestion Add(
SuggestionType type,
string suggestion,
double weight,
SuggestionStatus status
)
Parameters
suggestion
Type: System.StringEither a keyword or the account name of a colleague.
- weight
Type: System.Double
Return Value
Type: Microsoft.Office.Server.UserProfiles.Suggestion