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.StringA string that contains the name of the instance.
service
Type: Microsoft.SharePoint.Administration.SPWebServiceAn SPWebService object that represents the Web service.
applicationPool
Type: Microsoft.SharePoint.Administration.SPApplicationPoolAn SPApplicationPool object that represents the application pool.
See Also
Reference
SPAdministrationWebApplication Class
SPAdministrationWebApplication Members