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

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