SharepointEmailWS.DeleteDistributionGroup Method
Requests the deletion of an e-mail distribution group.
Namespace: [Sharepointemailws Web service]
Web service reference: http://Site/_vti_bin/Sharepointemailws.asmx
Syntax
'Declaration
<SoapDocumentMethodAttribute("https://microsoft.com/webservices/SharePoint/SharepointEmailWS/DeleteDistributionGroup", RequestNamespace := "https://microsoft.com/webservices/SharePoint/SharepointEmailWS/", _
ResponseNamespace := "https://microsoft.com/webservices/SharePoint/SharepointEmailWS/", _
Use := SoapBindingUse.Literal, ParameterStyle := SoapParameterStyle.Wrapped)> _
Public Function DeleteDistributionGroup ( _
Alias As String, _
Info As RequestInfo _
) As RequestResponse
'Usage
Dim instance As SharepointEmailWS
Dim Alias As String
Dim Info As RequestInfo
Dim returnValue As RequestResponse
returnValue = instance.DeleteDistributionGroup(Alias, _
Info)
[SoapDocumentMethodAttribute("https://microsoft.com/webservices/SharePoint/SharepointEmailWS/DeleteDistributionGroup", RequestNamespace = "https://microsoft.com/webservices/SharePoint/SharepointEmailWS/",
ResponseNamespace = "https://microsoft.com/webservices/SharePoint/SharepointEmailWS/",
Use = SoapBindingUse.Literal, ParameterStyle = SoapParameterStyle.Wrapped)]
public RequestResponse DeleteDistributionGroup(
string Alias,
RequestInfo Info
)
Parameters
Alias
Type: System.StringThe e-mail alias of the distribution list that is deleted.
Info
Type: [Sharepointemailws Web service].RequestInfoAn object containing information about the person who wants to delete the group and his or her reasons.
Return Value
Type: [Sharepointemailws Web service].RequestResponse
A RequestResponse value that provides information about the request.