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.StringA string that contains the new email alias for the distribution list.