Compartilhar via


SPGroup.RenameDistributionGroup Method

Renames the distribution list that is associated with the group.

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No

Syntax

'Declaration
<SubsetCallableExcludeMemberAttribute(SubsetCallableExcludeMemberType.PerSpec)> _
Public Sub RenameDistributionGroup ( _
    newAlias As String _
)
'Usage
Dim instance As SPGroup
Dim newAlias As String

instance.RenameDistributionGroup(newAlias)
[SubsetCallableExcludeMemberAttribute(SubsetCallableExcludeMemberType.PerSpec)]
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