Share via


SPAdministrationWebApplication constructor (String, SPWebService, SPApplicationPool)

Initializes a new instance of the SPAdministrationWebApplication class based on the specified instance name, Web service, and application pool.

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 SPAdministrationWebApplication(name, service, _
    applicationPool)
public SPAdministrationWebApplication(
    string name,
    SPWebService service,
    SPApplicationPool applicationPool
)

Parameters

  • name
    Type: System.String

    A string that contains the name of the instance.

See also

Reference

SPAdministrationWebApplication class

SPAdministrationWebApplication members

SPAdministrationWebApplication overload

Microsoft.SharePoint.Administration namespace