SPMetabaseManager.ProvisionIisWebSite 方法

请注意:此 API 现在已过时。

过时。改为使用Site

命名空间:  Microsoft.SharePoint.Administration
程序集:  Microsoft.SharePoint(位于 Microsoft.SharePoint.dll 中)

语法

声明
<ObsoleteAttribute("Obsoleted by the Microsoft.Web.Administration.Site class.")> _
Public Shared Sub ProvisionIisWebSite ( _
    serverComment As String, _
    serverBindings As String(), _
    secureBindings As String(), _
    authenticationMethods As Integer, _
    authenticationProviders As String(), _
    path As String, _
    accessFlags As Integer, _
    applicationName As String, _
    applicationPoolId As String, _
    scriptMaps As String(), _
    sslCertificateSubjectName As String _
)
用法
Dim serverComment As String
Dim serverBindings As String()
Dim secureBindings As String()
Dim authenticationMethods As Integer
Dim authenticationProviders As String()
Dim path As String
Dim accessFlags As Integer
Dim applicationName As String
Dim applicationPoolId As String
Dim scriptMaps As String()
Dim sslCertificateSubjectName As StringSPMetabaseManager.ProvisionIisWebSite(serverComment, _
    serverBindings, secureBindings, _
    authenticationMethods, authenticationProviders, _
    path, accessFlags, applicationName, _
    applicationPoolId, scriptMaps, sslCertificateSubjectName)
[ObsoleteAttribute("Obsoleted by the Microsoft.Web.Administration.Site class.")]
public static void ProvisionIisWebSite(
    string serverComment,
    string[] serverBindings,
    string[] secureBindings,
    int authenticationMethods,
    string[] authenticationProviders,
    string path,
    int accessFlags,
    string applicationName,
    string applicationPoolId,
    string[] scriptMaps,
    string sslCertificateSubjectName
)

参数

  • serverBindings
    类型:[]
  • secureBindings
    类型:[]
  • authenticationProviders
    类型:[]
  • scriptMaps
    类型:[]

另请参阅

引用

SPMetabaseManager 类

SPMetabaseManager 成员

Microsoft.SharePoint.Administration 命名空间