SPUserCodeService.ServicePort Property
Gets or sets the port number used to connect to the service.
Namespace: Microsoft.SharePoint.Administration
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No
Syntax
'Declaration
Public Property ServicePort As Integer
Get
Set
'Usage
Dim instance As SPUserCodeService
Dim value As Integer
value = instance.ServicePort
instance.ServicePort = value
public int ServicePort { get; set; }
Property Value
Type: System.Int32
The port number used to connect to the service.
Remarks
The default value is 32846.