Share via


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)

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