Share via


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)

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

  • isRunningInTimer
    Type: System.Boolean

    true if this method is called from the timer; otherwise false.

See also

Reference

SPManagedAccount class

SPManagedAccount members

Deploy overload

Microsoft.SharePoint.Administration namespace