Compartilhar via


SPWebService Constructor (String, SPFarm)

Initialize a new instance of the SPWebService class.

Namespace:  Microsoft.SharePoint.Administration
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No

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