IProfileEventInterface.PreProfileDeleted Method
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 (in Microsoft.Office.Server.dll)
Syntax
'Declaration
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)
bool PreProfileDeleted(
ServerContext context,
UserProfile profile
)
Parameters
- context
Type: Microsoft.Office.Server.ServerContext
The server context that contains contextual information about the source or destination.
- profile
Type: Microsoft.Office.Server.UserProfiles.UserProfile
A 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