IEmailHelperService.DeleteDistributionGroup Method
Requests the deletion of an e-mail distribution group.
Namespace: Microsoft.SharePoint.EmailIntegration
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'Declaration
Function DeleteDistributionGroup ( _
Alias As String, _
Info As RequestInfo _
) As RequestResponse
'Usage
Dim instance As IEmailHelperService
Dim Alias As String
Dim Info As RequestInfo
Dim returnValue As RequestResponse
returnValue = instance.DeleteDistributionGroup(Alias, _
Info)
RequestResponse DeleteDistributionGroup(
string Alias,
RequestInfo Info
)
Parameters
Alias
Type: System.StringThe e-mail alias of the distribution list that is deleted.
Info
Type: Microsoft.SharePoint.EmailIntegration.RequestInfoAn object containing information about the person who wants to delete the group and his or her reasons.
Return Value
Type: Microsoft.SharePoint.EmailIntegration.RequestResponse
A RequestResponse value that provides information about the request including its current status.