Partilhar 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)
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

  • 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