SPIisWebServiceApplication.AddServiceEndpoint method (String, SPIisWebServiceBindingType, String)
SharePoint 2013
Adds a service endpoint to the Web service application.
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
public virtual SPIisWebServiceEndpoint AddServiceEndpoint( string name, SPIisWebServiceBindingType bindingType, string relativeAddress )
Parameters
- name
- Type: System.String
The name of the endpoint.
- bindingType
- Type: Microsoft.SharePoint.Administration.SPIisWebServiceBindingType
The SPIisWebServiceBindingType of the endpoint.
- relativeAddress
- Type: System.String
The address of the endpoint, relative to the base address of the Web service application.
Return value
Type: Microsoft.SharePoint.Administration.SPIisWebServiceEndpointThe SPIisWebServiceEndpoint added to the Web service application.