共用方式為


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
)

參數

請參閱

參照

SPWebService class

SPWebService members

SPWebService overload

Microsoft.SharePoint.Administration namespace