SPWebServiceInstance Constructor (String, SPServer, SPWebService)

Initializes a new instance of the SPWebServiceInstance class based on the specified display name, server, and Web service.

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

Syntax

'Declaration
Public Sub New ( _
    name As String, _
    server As SPServer, _
    service As SPWebService _
)
'Usage
Dim name As String
Dim server As SPServer
Dim service As SPWebService

Dim instance As New SPWebServiceInstance(name, server, _
    service)
public SPWebServiceInstance(
    string name,
    SPServer server,
    SPWebService service
)

Parameters

  • name
    Type: System.String

    A string that contains the display name of the new instance.

See Also

Reference

SPWebServiceInstance Class

SPWebServiceInstance Members

SPWebServiceInstance Overload

Microsoft.SharePoint.Administration Namespace