Share via


SPWebService constructor (String, SPFarm)

Initialize a new instance of the SPWebService class.

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

Syntax

'Declaration
Public Sub New ( _
    name As String, _
    farm As SPFarm _
)
'Usage
Dim name As String
Dim farm As SPFarm

Dim instance As New SPWebService(name, farm)
public SPWebService(
    string name,
    SPFarm farm
)

Parameters

See also

Reference

SPWebService class

SPWebService members

SPWebService overload

Microsoft.SharePoint.Administration namespace