次の方法で共有


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)

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.

See also

Reference

SPUserCodeService class

SPUserCodeService members

Microsoft.SharePoint.Administration namespace