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)

Syntax

'Declaration
Public Overridable Function AddServiceEndpoint ( _
    name As String, _
    bindingType As SPIisWebServiceBindingType _
) As SPIisWebServiceEndpoint
'Usage
Dim instance As SPIisWebServiceApplication
Dim name As String
Dim bindingType As SPIisWebServiceBindingType
Dim returnValue As SPIisWebServiceEndpoint

returnValue = instance.AddServiceEndpoint(name, _
    bindingType)
public virtual SPIisWebServiceEndpoint AddServiceEndpoint(
    string name,
    SPIisWebServiceBindingType bindingType
)

Parameters

Return value

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

See also

Reference

SPIisWebServiceApplication class

SPIisWebServiceApplication members

AddServiceEndpoint overload

Microsoft.SharePoint.Administration namespace