SPWebApplication constructor (String, SPWebService, SPApplicationPool)
Initializes a new instance of the SPWebApplication class.
Namespace: Microsoft.SharePoint.Administration
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'Declaration
Public Sub New ( _
name As String, _
service As SPWebService, _
applicationPool As SPApplicationPool _
)
'Usage
Dim name As String
Dim service As SPWebService
Dim applicationPool As SPApplicationPool
Dim instance As New SPWebApplication(name, service, _
applicationPool)
public SPWebApplication(
string name,
SPWebService service,
SPApplicationPool applicationPool
)
Parameters
name
Type: System.StringA string that contains the display name of the new instance.
service
Type: Microsoft.SharePoint.Administration.SPWebServiceThe parent SPWebService object for the Web application.
applicationPool
Type: Microsoft.SharePoint.Administration.SPApplicationPoolAn SPApplicationPool object that indicates the credentials under which the Web application processes will run.