共用方式為


SPWebService.DiscoPage property

取得或設定路徑,相對於 /_vti_bin 虛擬目錄的 [Web 服務探索] 頁面上。

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

Syntax

'宣告
Public Property DiscoPage As String
    Get
    Set
'用途
Dim instance As SPWebService
Dim value As String

value = instance.DiscoPage

instance.DiscoPage = value
public string DiscoPage { get; set; }

Property value

Type: System.String
字串,包含 Web 服務探索] 頁面上的路徑。預設值為"spdisco.aspx"。

請參閱

參照

SPWebService class

SPWebService members

Microsoft.SharePoint.Administration namespace