Condividi tramite


SPUserCodeService.UseLocalServerOnly Property

Gets or sets a value that indicates whether the service must use only the local machine.

Namespace:  Microsoft.SharePoint.Administration
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No

Syntax

'Declaration
Public Property UseLocalServerOnly As Boolean
    Get
    Set
'Usage
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 if the service must use only the local machine (local mode); otherwise, false and the service can pass requests to another server that is also running this service.

Remarks

The default value is false.

See Also

Reference

SPUserCodeService Class

SPUserCodeService Members

Microsoft.SharePoint.Administration Namespace