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)

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