SPWebApplication 构造函数 (String, SPWebService, SPApplicationPool)
SPWebApplication类的新实例进行初始化。
命名空间: Microsoft.SharePoint.Administration
程序集: Microsoft.SharePoint(位于 Microsoft.SharePoint.dll 中)
语法
声明
Public Sub New ( _
name As String, _
service As SPWebService, _
applicationPool As SPApplicationPool _
)
用法
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
)
参数
name
类型:System.String一个字符串,包含显示名称的新实例。
service
类型:Microsoft.SharePoint.Administration.SPWebServiceWeb 应用程序的父SPWebService对象。
applicationPool
类型:Microsoft.SharePoint.Administration.SPApplicationPoolSPApplicationPool对象,该对象表示将在其下运行的 Web 应用程序进程的凭据。