IProfileEventInterface.PreProfileDeleted 方法 (ServerContext, UserProfile)
请注意:此 API 现在已过时。
返回一个布尔值,指定是否已删除较早的给定用户配置文件。
命名空间: Microsoft.Office.Server.UserProfiles
程序集: Microsoft.Office.Server.UserProfiles(位于 Microsoft.Office.Server.UserProfiles.dll 中)
语法
声明
<ObsoleteAttribute("use PreProfileDeleted(UserProfile profile) instead.")> _
Function PreProfileDeleted ( _
context As ServerContext, _
profile As UserProfile _
) As Boolean
用法
Dim instance As IProfileEventInterface
Dim context As ServerContext
Dim profile As UserProfile
Dim returnValue As Boolean
returnValue = instance.PreProfileDeleted(context, _
profile)
[ObsoleteAttribute("use PreProfileDeleted(UserProfile profile) instead.")]
bool PreProfileDeleted(
ServerContext context,
UserProfile profile
)
参数
context
类型:Microsoft.Office.Server.ServerContext将服务器上下文包含有关源或目标的上下文信息。
profile
类型:Microsoft.Office.Server.UserProfiles.UserProfile表示给定用户的配置文件的UserProfile对象。
返回值
类型:System.Boolean
如果给定用户的配置文件已被删除, true;否则为false。