Export (0) Print
Expand All

SPWebApplication constructor (String, SPWebService, SPApplicationPool)

Initializes a new instance of the SPWebApplication class.

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

'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)

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.

Community Additions

ADD
Show:
© 2014 Microsoft