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

    一个字符串,包含显示名称的新实例。

另请参阅

引用

SPWebApplication 类

SPWebApplication 成员

SPWebApplication 重载

Microsoft.SharePoint.Administration 命名空间