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
)

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.SPIisWebServiceEndpoint
The SPIisWebServiceEndpoint added to the Web service application.
Show:
© 2015 Microsoft