Partilhar via


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.String

    The current e-mail alias of the group.

  • NewAlias
    Type: System.String

    The e-mail alias that the group is to have hereafter.

Return Value

Type: Microsoft.SharePoint.EmailIntegration.RequestResponse
A RequestResponse value that provides information about the request that includes the current status of the request.

See Also

Reference

IEmailHelperService Interface

IEmailHelperService Members

Microsoft.SharePoint.EmailIntegration Namespace