SuggestionManager.Add 方法 (SuggestionType, String, Double, SuggestionStatus)
添加有关用户与指定的类型、 字符串、 粗细和状态的建议。
命名空间: Microsoft.Office.Server.UserProfiles
程序集: Microsoft.Office.Server.UserProfiles(位于 Microsoft.Office.Server.UserProfiles.dll 中)
语法
声明
Public Function Add ( _
type As SuggestionType, _
suggestion As String, _
weight As Double, _
status As SuggestionStatus _
) As Suggestion
用法
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
)
参数
suggestion
类型:System.String关键字或同事的帐户名。
- weight
类型:System.Double
返回值
类型:Microsoft.Office.Server.UserProfiles.Suggestion