共用方式為


SPUserCodeService.UseLocalServerOnly property

取得或設定一個值,指出服務是否必須使用本機電腦。

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

Syntax

'宣告
Public Property UseLocalServerOnly As Boolean
    Get
    Set
'用途
Dim instance As SPUserCodeService
Dim value As Boolean

value = instance.UseLocalServerOnly

instance.UseLocalServerOnly = value
public bool UseLocalServerOnly { get; set; }

Property value

Type: System.Boolean
true如果服務必須使用僅限本機機器 (本機模式) ;否則, false及服務可以要求傳遞至也執行這項服務的另一部伺服器。

備註

預設值為false。

請參閱

參照

SPUserCodeService class

SPUserCodeService members

Microsoft.SharePoint.Administration namespace