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
)
参数
- serverComment
类型:System.String
- serverBindings
类型:[]
- secureBindings
类型:[]
- authenticationMethods
类型:System.Int32
- authenticationProviders
类型:[]
- path
类型:System.String
- accessFlags
类型:System.Int32
- applicationName
类型:System.String
- applicationPoolId
类型:System.String
- scriptMaps
类型:[]
- sslCertificateSubjectName
类型:System.String