Share via


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

Return Value

Type: System.Boolean
If the profile of a given user has been deleted, true; otherwise false.

See Also

Reference

IProfileEventInterface Interface

IProfileEventInterface Members

PreProfileDeleted Overload

Microsoft.Office.Server.UserProfiles Namespace