共用方式為


SPWebService.Required property

取得 Boolean 值,指出是否必須在伺服器陣列中的至少一部電腦上執行之 Web 服務的執行個體。

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

Syntax

'宣告
Public Overrides ReadOnly Property Required As Boolean
    Get
'用途
Dim instance As SPWebService
Dim value As Boolean

value = instance.Required
public override bool Required { get; }

Property value

Type: System.Boolean
true如果至少一部電腦,必須執行的 Web 服務的執行個體否則,請false。

請參閱

參照

SPWebService class

SPWebService members

Microsoft.SharePoint.Administration namespace