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.StringA string that contains the display name of the new instance.
server
Type: Microsoft.SharePoint.Administration.SPServerAn SPServer object that represents the physical server.
service
Type: Microsoft.SharePoint.Administration.SPWebServiceAn SPWebService object that represents the Web service.