Partilhar via


SharepointEmailWS.RenameDistributionGroup Method

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

Namespace:  [Sharepointemailws Web service]
Web service reference: http://Site/_vti_bin/Sharepointemailws.asmx

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: [Sharepointemailws Web service].RequestResponse
A RequestResponse value that provides information about the request.

See Also

Reference

SharepointEmailWS Class

SharepointEmailWS Members

Sharepointemailws Web Service