IEmailHelperService.DeleteContact Method
Requests the deletion of a contact from the Active Directory container.
Namespace: Microsoft.SharePoint.EmailIntegration
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'Declaration
Function DeleteContact ( _
Alias As String _
) As RequestStatus
'Usage
Dim instance As IEmailHelperService
Dim Alias As String
Dim returnValue As RequestStatus
returnValue = instance.DeleteContact(Alias)
RequestStatus DeleteContact(
string Alias
)
Parameters
Alias
Type: System.StringThe e-mail alias of the contact that is deleted.
Return Value
Type: Microsoft.SharePoint.EmailIntegration.RequestStatus
A RequestStatus value that reports the outcome of the operation.