SPManagedAccount.Deploy Method (SPProcessIdentity, Boolean)
Deploys a managed account to the specified process identity.
Namespace: Microsoft.SharePoint.Administration
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No
Syntax
'Declaration
Public Sub Deploy ( _
processIdentity As SPProcessIdentity, _
isRunningInTimer As Boolean _
)
'Usage
Dim instance As SPManagedAccount
Dim processIdentity As SPProcessIdentity
Dim isRunningInTimer As Boolean
instance.Deploy(processIdentity, isRunningInTimer)
public void Deploy(
SPProcessIdentity processIdentity,
bool isRunningInTimer
)
Parameters
processIdentity
Type: Microsoft.SharePoint.Administration.SPProcessIdentityA process identity which specifies an Internet Information Services (IIS) application pool or Windows service account.
isRunningInTimer
Type: System.Booleantrue if this method is called from the timer; otherwise false.