SuggestionManager.Add SuggestionManager.Add Method

Definition

Overloads

Add(SuggestionType, String, Double) Add(SuggestionType, String, Double)

Adds a suggestion for the user with the specified type, string, and weight.

Add(SuggestionType, String, Double, SuggestionStatus) Add(SuggestionType, String, Double, SuggestionStatus)

Adds a suggestion for the user with the specified type, string, weight, and status.

Add(SuggestionType, String, Double) Add(SuggestionType, String, Double)

Adds a suggestion for the user with the specified type, string, and weight.

public:
 Microsoft::Office::Server::UserProfiles::Suggestion ^ Add(Microsoft::Office::Server::UserProfiles::SuggestionType type, System::String ^ suggestion, double weight);
public Microsoft.Office.Server.UserProfiles.Suggestion Add (Microsoft.Office.Server.UserProfiles.SuggestionType type, string suggestion, double weight);
Parameters
type
SuggestionType SuggestionType

Either a keyword or the account name of a colleague.

suggestion
String String
weight
Double Double
Returns

Remarks

If the suggestion already exists, the weight will be updated. If the SuggestionStatus is Rejected, it will change to Suggested.

Add(SuggestionType, String, Double, SuggestionStatus) Add(SuggestionType, String, Double, SuggestionStatus)

Adds a suggestion for the user with the specified type, string, weight, and status.

public:
 Microsoft::Office::Server::UserProfiles::Suggestion ^ Add(Microsoft::Office::Server::UserProfiles::SuggestionType type, System::String ^ suggestion, double weight, Microsoft::Office::Server::UserProfiles::SuggestionStatus status);
public Microsoft.Office.Server.UserProfiles.Suggestion Add (Microsoft.Office.Server.UserProfiles.SuggestionType type, string suggestion, double weight, Microsoft.Office.Server.UserProfiles.SuggestionStatus status);
Parameters
suggestion
String String

Either a keyword or the account name of a colleague.

weight
Double Double
Returns

Applies to