Share via


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.String

    A string that contains the display name of the new instance.

See also

Reference

SPWebApplication class

SPWebApplication members

SPWebApplication overload

Microsoft.SharePoint.Administration namespace