Share via


SPServerBinding.Port property

Gets or sets the port number of the server binding.

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

Syntax

'Declaration
Public Property Port As Integer
    Get
    Set
'Usage
Dim instance As SPServerBinding
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 the port number.

See also

Reference

SPServerBinding class

SPServerBinding members

Microsoft.SharePoint.Administration namespace