(SuggestionType, String, Double) del método SuggestionManager.Add
Agrega una sugerencia para el usuario con el tipo especificado, la cadena y el peso.
Espacio de nombres: Microsoft.Office.Server.UserProfiles
Ensamblado: Microsoft.Office.Server.UserProfiles (en Microsoft.Office.Server.UserProfiles.dll)
Sintaxis
'Declaración
Public Function Add ( _
type As SuggestionType, _
suggestion As String, _
weight As Double _
) As Suggestion
'Uso
Dim instance As SuggestionManager
Dim type As SuggestionType
Dim suggestion As String
Dim weight As Double
Dim returnValue As Suggestion
returnValue = instance.Add(type, suggestion, _
weight)
public Suggestion Add(
SuggestionType type,
string suggestion,
double weight
)
Parámetros
type
Tipo: Microsoft.Office.Server.UserProfiles.SuggestionTypeUna palabra clave o el nombre de cuenta de un colega.
- suggestion
Tipo: System.String
- weight
Tipo: System.Double
Valor devuelto
Tipo: Microsoft.Office.Server.UserProfiles.Suggestion
Comentarios
Si la sugerencia ya existe, se actualizará el peso. Si la SuggestionStatus es Rejected, cambiará a Suggested.