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
)

参数

另请参阅

引用

SPMetabaseManager 类

SPMetabaseManager 成员

Microsoft.SharePoint.Administration 命名空间