共用方式為


SPIisWebServiceApplication.DefaultEndpoint property

Web 服務應用程式的預設端點。

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

Syntax

'宣告
Public Overridable Property DefaultEndpoint As SPIisWebServiceEndpoint
    Get
    Set
'用途
Dim instance As SPIisWebServiceApplication
Dim value As SPIisWebServiceEndpoint

value = instance.DefaultEndpoint

instance.DefaultEndpoint = value
public virtual SPIisWebServiceEndpoint DefaultEndpoint { get; set; }

Property value

Type: Microsoft.SharePoint.Administration.SPIisWebServiceEndpoint
SPIisWebServiceEndpoint 物件。

Exceptions

Exception Condition
ArgumentNullException

設定本屬性時,所提供 null 參考 (在 Visual Basic 中的Nothing )。

請參閱

參照

SPIisWebServiceApplication class

SPIisWebServiceApplication members

Microsoft.SharePoint.Administration namespace