Share via


SPGroup.RenameDistributionGroup method

Renames the distribution list that is associated with the group.

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

Syntax

'Declaration
Public Sub RenameDistributionGroup ( _
    newAlias As String _
)
'Usage
Dim instance As SPGroup
Dim newAlias As String

instance.RenameDistributionGroup(newAlias)
public void RenameDistributionGroup(
    string newAlias
)

Parameters

  • newAlias
    Type: System.String

    A string that contains the new email alias for the distribution list.

See also

Reference

SPGroup class

SPGroup members

Microsoft.SharePoint namespace