IProfileEventInterface.PreProfileDeleted Method (ServerContext, UserProfile)
NOTE: This API is now obsolete.
Returns a Boolean value that specifies whether the earlier profile of a given user has been deleted.
Namespace: Microsoft.Office.Server.UserProfiles
Assembly: Microsoft.Office.Server.UserProfiles (in Microsoft.Office.Server.UserProfiles.dll)
Syntax
'Declaration
<ObsoleteAttribute("use PreProfileDeleted(UserProfile profile) instead.")> _
Function PreProfileDeleted ( _
context As ServerContext, _
profile As UserProfile _
) As Boolean
'Usage
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
)
Parameters
context
Type: Microsoft.Office.Server.ServerContextThe server context that contains contextual information about the source or destination.
profile
Type: Microsoft.Office.Server.UserProfiles.UserProfileA UserProfile object representing the profile of a given user.
Return Value
Type: System.Boolean
If the profile of a given user has been deleted, true; otherwise false.
See Also
Reference
IProfileEventInterface Interface