SharepointEmailWS.DeleteContact Method
Requests the deletion of a contact from the Active Directory container.
Namespace: [Sharepointemailws Web service]
Web service reference: http://Site/_vti_bin/Sharepointemailws.asmx
Syntax
'Declaration
<SoapDocumentMethodAttribute("https://microsoft.com/webservices/SharePoint/SharepointEmailWS/DeleteContact", RequestNamespace := "https://microsoft.com/webservices/SharePoint/SharepointEmailWS/", _
ResponseNamespace := "https://microsoft.com/webservices/SharePoint/SharepointEmailWS/", _
Use := SoapBindingUse.Literal, ParameterStyle := SoapParameterStyle.Wrapped)> _
Public Function DeleteContact ( _
Alias As String _
) As RequestStatus
'Usage
Dim instance As SharepointEmailWS
Dim Alias As String
Dim returnValue As RequestStatus
returnValue = instance.DeleteContact(Alias)
[SoapDocumentMethodAttribute("https://microsoft.com/webservices/SharePoint/SharepointEmailWS/DeleteContact", RequestNamespace = "https://microsoft.com/webservices/SharePoint/SharepointEmailWS/",
ResponseNamespace = "https://microsoft.com/webservices/SharePoint/SharepointEmailWS/",
Use = SoapBindingUse.Literal, ParameterStyle = SoapParameterStyle.Wrapped)]
public RequestStatus DeleteContact(
string Alias
)
Parameters
Alias
Type: System.StringThe e-mail alias of the contact that is deleted.
Return Value
Type: [Sharepointemailws Web service].RequestStatus
A RequestStatus value that reports the outcome of the operation.