This documentation is archived and is not being maintained.

SPWebApplication Constructor (String, SPWebService, SPApplicationPool)

Windows SharePoint Services 3

Initializes a new instance of the SPWebApplication class.

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

public SPWebApplication(
	string name,
	SPWebService service,
	SPApplicationPool applicationPool
)

Parameters

name
Type: System.String
A string that contains the display name of the new instance.
service
Type: Microsoft.SharePoint.Administration.SPWebService
The parent SPWebService object for the Web application.
applicationPool
Type: Microsoft.SharePoint.Administration.SPApplicationPool
An SPApplicationPool object that indicates the credentials under which the Web application processes will run.
Show: