SPMetabaseManager.ProvisionIisApplicationPool 方法
请注意:此 API 现在已过时。
过时。而是使用ApplicationPool类。
命名空间: Microsoft.SharePoint.Administration
程序集: Microsoft.SharePoint(位于 Microsoft.SharePoint.dll 中)
语法
声明
<ObsoleteAttribute("Obsoleted by the Microsoft.Web.Administration.ApplicationPool class.")> _
Public Shared Sub ProvisionIisApplicationPool ( _
name As String, _
identityType As Integer, _
userName As String, _
password As SecureString, _
idleTimeout As TimeSpan, _
periodicRestartTime As TimeSpan _
)
用法
Dim name As String
Dim identityType As Integer
Dim userName As String
Dim password As SecureString
Dim idleTimeout As TimeSpan
Dim periodicRestartTime As TimeSpanSPMetabaseManager.ProvisionIisApplicationPool(name, _
identityType, userName, password, _
idleTimeout, periodicRestartTime)
[ObsoleteAttribute("Obsoleted by the Microsoft.Web.Administration.ApplicationPool class.")]
public static void ProvisionIisApplicationPool(
string name,
int identityType,
string userName,
SecureString password,
TimeSpan idleTimeout,
TimeSpan periodicRestartTime
)
参数
- name
类型:System.String
- identityType
类型:System.Int32
- userName
类型:System.String
- password
类型:System.Security.SecureString
- idleTimeout
类型:System.TimeSpan
- periodicRestartTime
类型:System.TimeSpan