共用方式為


SPServerBinding.Port property

取得或設定伺服器繫結的連接埠號碼。

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

Syntax

'宣告
Public Property Port As Integer
    Get
    Set
'用途
Dim instance As SPServerBinding
Dim value As Integer

value = instance.Port

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

Property value

Type: System.Int32
32 位元整數,會指定的連接埠號碼。

請參閱

參照

SPServerBinding class

SPServerBinding members

Microsoft.SharePoint.Administration namespace