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.StringThe current e-mail alias of the group.
NewAlias
Type: System.StringThe e-mail alias that the group is to have hereafter.
Info
Type: [Sharepointemailws Web service].RequestInfoAn object containing information about the person who wants to change the alias of the group and his or her reasons.
Return Value
Type: [Sharepointemailws Web service].RequestResponse
A RequestResponse value that provides information about the request.