SPWebService constructor (String, SPFarm)
初始化SPWebService類別的新執行個體。
Namespace: Microsoft.SharePoint.Administration
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'宣告
Public Sub New ( _
name As String, _
farm As SPFarm _
)
'用途
Dim name As String
Dim farm As SPFarm
Dim instance As New SPWebService(name, farm)
public SPWebService(
string name,
SPFarm farm
)
參數
name
Type: System.String新的 Web 服務的名稱。
farm
Type: Microsoft.SharePoint.Administration.SPFarm在要安裝新的 Web 服務的伺服器陣列。