Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
AddServiceEndpoint method (String, SPIisWebServiceBindingType, String)

SPIisWebServiceApplication.AddServiceEndpoint method (String, SPIisWebServiceBindingType, String)

Adds a service endpoint to the Web service application.

Namespace:  Microsoft.SharePoint.Administration
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

public virtual SPIisWebServiceEndpoint AddServiceEndpoint(
	string name,
	SPIisWebServiceBindingType bindingType,
	string relativeAddress


Type: System.String

The name of the endpoint.

Type: Microsoft.SharePoint.Administration.SPIisWebServiceBindingType

The SPIisWebServiceBindingType of the endpoint.

Type: System.String

The address of the endpoint, relative to the base address of the Web service application.

Return value

Type: Microsoft.SharePoint.Administration.SPIisWebServiceEndpoint
The SPIisWebServiceEndpoint added to the Web service application.
© 2015 Microsoft