Share via


SPMetabaseManager.ProvisionIisApplicationPool method

NOTE: This API is now obsolete.

Obsolete. Use the ApplicationPool class instead.

Namespace:  Microsoft.SharePoint.Administration
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'Declaration
<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 _
)
'Usage
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
)

Parameters

See also

Reference

SPMetabaseManager class

SPMetabaseManager members

Microsoft.SharePoint.Administration namespace