共用方式為


SPServer constructor (String, SPFarm)

會使用指定的地址的伺服器新增至伺服器陣列。

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

Syntax

'宣告
Public Sub New ( _
    address As String, _
    farm As SPFarm _
)
'用途
Dim address As String
Dim farm As SPFarm

Dim instance As New SPServer(address, _
    farm)
public SPServer(
    string address,
    SPFarm farm
)

參數

備註

任何地址的配置時才有效,可解析本機網路上。

請參閱

參照

SPServer class

SPServer members

SPServer overload

Microsoft.SharePoint.Administration namespace