IEmailHelperService.RenameDistributionGroup Method
Request a change in the alias for an e-mail distribution group.
Namespace: Microsoft.SharePoint.EmailIntegration
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'Declaration
Function RenameDistributionGroup ( _
OldAlias As String, _
NewAlias As String, _
Info As RequestInfo _
) As RequestResponse
'Usage
Dim instance As IEmailHelperService
Dim OldAlias As String
Dim NewAlias As String
Dim Info As RequestInfo
Dim returnValue As RequestResponse
returnValue = instance.RenameDistributionGroup(OldAlias, _
NewAlias, Info)
RequestResponse RenameDistributionGroup(
string OldAlias,
string NewAlias,
RequestInfo Info
)
Parameters
OldAlias
Type: System.StringThe current e-mail alias of the group.
NewAlias
Type: System.StringThe e-mail alias that the group is to have hereafter.
Info
Type: Microsoft.SharePoint.EmailIntegration.RequestInfoAn object containing information about the person who wants to change the alias of the group and his or her reasons.
Return Value
Type: Microsoft.SharePoint.EmailIntegration.RequestResponse
A RequestResponse value that provides information about the request that includes the current status of the request.