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
)
參數
address
Type: System.String包含伺服器的位址字串。
farm
Type: Microsoft.SharePoint.Administration.SPFarm表示要將伺服器新增至伺服器陣列的SPFarm物件。
備註
任何地址的配置時才有效,可解析本機網路上。