다음을 통해 공유


MySiteProfileHandler.PreProfileDeleted Method (ServerContext, UserProfile)

NOTE: This API is now obsolete.

Returns a Boolean value indicating whether the specified user profile in the specified Shared Service Provider context is successfully 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.")> _
Public Overridable Function PreProfileDeleted ( _
    context As ServerContext, _
    profile As UserProfile _
) As Boolean
'Usage
Dim instance As MySiteProfileHandler
Dim context As ServerContext
Dim profile As UserProfile
Dim returnValue As Boolean

returnValue = instance.PreProfileDeleted(context, _
    profile)
[ObsoleteAttribute("use PreProfileDeleted(UserProfile profile) instead.")]
public virtual bool PreProfileDeleted(
    ServerContext context,
    UserProfile profile
)

Parameters

Return Value

Type: System.Boolean
true if the user profile is successfully deleted; otherwise, false.

Implements

IProfileEventInterface.PreProfileDeleted(ServerContext, UserProfile)

See Also

Reference

MySiteProfileHandler Class

MySiteProfileHandler Members

PreProfileDeleted Overload

Microsoft.Office.Server.UserProfiles Namespace