Share via


SharepointEmailWS.RenameDistributionGroup method

Request a change in the alias for an e-mail distribution group.

Namespace:  WebSvcsharepointemailws
Assembly:  STSSOAP (in STSSOAP.dll)

Syntax

'Declaration
<SoapDocumentMethodAttribute("https://microsoft.com/webservices/SharePoint/SharepointEmailWS/RenameDistributionGroup", RequestNamespace := "https://microsoft.com/webservices/SharePoint/SharepointEmailWS/",  _
    ResponseNamespace := "https://microsoft.com/webservices/SharePoint/SharepointEmailWS/",  _
    Use := SoapBindingUse.Literal, ParameterStyle := SoapParameterStyle.Wrapped)> _
Public Function RenameDistributionGroup ( _
    OldAlias As String, _
    NewAlias As String, _
    Info As RequestInfo _
) As RequestResponse
'Usage
Dim instance As SharepointEmailWS
Dim OldAlias As String
Dim NewAlias As String
Dim Info As RequestInfo
Dim returnValue As RequestResponse

returnValue = instance.RenameDistributionGroup(OldAlias, _
    NewAlias, Info)
[SoapDocumentMethodAttribute("https://microsoft.com/webservices/SharePoint/SharepointEmailWS/RenameDistributionGroup", RequestNamespace = "https://microsoft.com/webservices/SharePoint/SharepointEmailWS/", 
    ResponseNamespace = "https://microsoft.com/webservices/SharePoint/SharepointEmailWS/", 
    Use = SoapBindingUse.Literal, ParameterStyle = SoapParameterStyle.Wrapped)]
public 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: WebSvcsharepointemailws.RequestResponse
A RequestResponse value that provides information about the request.

See also

Reference

SharepointEmailWS class

SharepointEmailWS members

WebSvcsharepointemailws namespace