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)

SPIisWebServiceApplication.AddServiceEndpoint method (String, SPIisWebServiceBindingType)

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


Type: System.String

The name of the endpoint.

Type: Microsoft.SharePoint.Administration.SPIisWebServiceBindingType

The SPIisWebServiceBindingType of the endpoint.

Return value

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