SPWebApplication Constructor (String, SPWebService, SPApplicationPool)

Initializes a new instance of the SPWebApplication class.

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

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: