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