Partilhar via


IEmailHelperService.ModifyDistributionGroup Method

Requests a change in the stored information about an e-mail distribution group.

Namespace:  Microsoft.SharePoint.EmailIntegration
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'Declaration
Function ModifyDistributionGroup ( _
    Alias As String, _
    Name As String, _
    Description As String, _
    ContactCN As String, _
    Info As RequestInfo, _
    Flags As DistributionGroupFlags _
) As RequestResponse
'Usage
Dim instance As IEmailHelperService
Dim Alias As String
Dim Name As String
Dim Description As String
Dim ContactCN As String
Dim Info As RequestInfo
Dim Flags As DistributionGroupFlags
Dim returnValue As RequestResponse

returnValue = instance.ModifyDistributionGroup(Alias, _
    Name, Description, ContactCN, Info, _
    Flags)
RequestResponse ModifyDistributionGroup(
    string Alias,
    string Name,
    string Description,
    string ContactCN,
    RequestInfo Info,
    DistributionGroupFlags Flags
)

Parameters

  • Name
    Type: System.String

    The user-friendly name of the group. (This can be the same as the existing value or changed.)

  • Description
    Type: System.String

    A description of the group. Can be the same as the existing value or changed.

  • ContactCN
    Type: System.String

    The manager of the group. (This can be the same as the existing value or changed.)

Return Value

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

Remarks

You cannot use ModifyDistributionGroup to request a change in the alias of a distribution group. You must use RenameDistributionGroup.

See Also

Reference

IEmailHelperService Interface

IEmailHelperService Members

Microsoft.SharePoint.EmailIntegration Namespace