SPIisWebServiceApplication.AddServiceEndpoint method (String, SPIisWebServiceBindingType, String)
新增至 Web 服務應用程式的服務端點。
Namespace: Microsoft.SharePoint.Administration
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'宣告
Public Overridable Function AddServiceEndpoint ( _
name As String, _
bindingType As SPIisWebServiceBindingType, _
relativeAddress As String _
) As SPIisWebServiceEndpoint
'用途
Dim instance As SPIisWebServiceApplication
Dim name As String
Dim bindingType As SPIisWebServiceBindingType
Dim relativeAddress As String
Dim returnValue As SPIisWebServiceEndpoint
returnValue = instance.AddServiceEndpoint(name, _
bindingType, relativeAddress)
public virtual SPIisWebServiceEndpoint AddServiceEndpoint(
string name,
SPIisWebServiceBindingType bindingType,
string relativeAddress
)
參數
name
Type: System.String端點的名稱。
bindingType
Type: Microsoft.SharePoint.Administration.SPIisWebServiceBindingType
relativeAddress
Type: System.String端點,相對於 Web 服務應用程式的基底地址的地址。
傳回值
Type: Microsoft.SharePoint.Administration.SPIisWebServiceEndpoint
SPIisWebServiceEndpoint 新增至 Web 服務應用程式。
請參閱
參照
SPIisWebServiceApplication class