IProfileEventInterface.PreProfileDeleted IProfileEventInterface.PreProfileDeleted IProfileEventInterface.PreProfileDeleted Method

Definition

Overloads

PreProfileDeleted(UserProfile) PreProfileDeleted(UserProfile) PreProfileDeleted(UserProfile)
PreProfileDeleted(ServerContext, UserProfile) PreProfileDeleted(ServerContext, UserProfile) PreProfileDeleted(ServerContext, UserProfile)

Returns a Boolean value that specifies whether the earlier profile of a given user has been deleted.

PreProfileDeleted(UserProfile) PreProfileDeleted(UserProfile) PreProfileDeleted(UserProfile)

public:
 bool PreProfileDeleted(Microsoft::Office::Server::UserProfiles::UserProfile ^ profile);
public bool PreProfileDeleted (Microsoft.Office.Server.UserProfiles.UserProfile profile);
Public Function PreProfileDeleted (profile As UserProfile) As Boolean
Parameters
Returns

PreProfileDeleted(ServerContext, UserProfile) PreProfileDeleted(ServerContext, UserProfile) PreProfileDeleted(ServerContext, UserProfile)

Warning

This API is now obsolete.

Returns a Boolean value that specifies whether the earlier profile of a given user has been deleted.

public:
 bool PreProfileDeleted(Microsoft::Office::Server::ServerContext ^ context, Microsoft::Office::Server::UserProfiles::UserProfile ^ profile);
[System.Obsolete("use PreProfileDeleted(UserProfile profile) instead.")]
public bool PreProfileDeleted (Microsoft.Office.Server.ServerContext context, Microsoft.Office.Server.UserProfiles.UserProfile profile);
Public Function PreProfileDeleted (context As ServerContext, profile As UserProfile) As Boolean
Parameters
context
Microsoft.Office.Server.ServerContext Microsoft.Office.Server.ServerContext Microsoft.Office.Server.ServerContext

The server context that contains contextual information about the source or destination.

profile
UserProfile UserProfile UserProfile

A UserProfile object representing the profile of a given user.

Returns

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

Applies to