SPWebApplicationBuilder.Port Property
Gets or sets the port of the new Web application.
Namespace: Microsoft.SharePoint.Administration
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No
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.