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)
Available in Sandboxed Solutions: No
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
- name
Type: System.String
- identityType
Type: System.Int32
- userName
Type: System.String
- password
Type: System.Security.SecureString
- idleTimeout
Type: System.TimeSpan
- periodicRestartTime
Type: System.TimeSpan