SPVirtualServer.Port Property
NOTE: This API is now obsolete.
Obsolete. Gets the port number for the virtual server.
Namespace: Microsoft.SharePoint.Administration
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No
Syntax
'Declaration
<ObsoleteAttribute("Use SPWebApplication or SPIisSettings instead.", _
False)> _
Public ReadOnly Property Port As Integer
Get
'Usage
Dim instance As SPVirtualServer
Dim value As Integer
value = instance.Port
[ObsoleteAttribute("Use SPWebApplication or SPIisSettings instead.",
false)]
public int Port { get; }
Property Value
Type: System.Int32
A 32-bit integer that specifies the port number.