次の方法で共有


SPWebApplicationBuilder.Port property

Gets or sets the port of the new Web application.

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

Syntax

'Declaration
Public Property Port As Integer
    Get
    Set
'Usage
Dim instance As SPWebApplicationBuilder
Dim value As Integer

value = instance.Port

instance.Port = value
public int Port { get; set; }

Property value

Type: System.Int32
A 32-bit integer that specifies a unique port number.

See also

Reference

SPWebApplicationBuilder class

SPWebApplicationBuilder members

Microsoft.SharePoint.Administration namespace