SPManagedAccount.Deploy 方法 (SPProcessIdentity, Boolean)
将帐户由他人管理部署到指定的进程标识。
命名空间: Microsoft.SharePoint.Administration
程序集: Microsoft.SharePoint(位于 Microsoft.SharePoint.dll 中)
语法
声明
Public Sub Deploy ( _
processIdentity As SPProcessIdentity, _
isRunningInTimer As Boolean _
)
用法
Dim instance As SPManagedAccount
Dim processIdentity As SPProcessIdentity
Dim isRunningInTimer As Boolean
instance.Deploy(processIdentity, isRunningInTimer)
public void Deploy(
SPProcessIdentity processIdentity,
bool isRunningInTimer
)
参数
processIdentity
类型:Microsoft.SharePoint.Administration.SPProcessIdentity进程标识指定的 Internet Information Services (IIS) 应用程序池或 Windows 服务帐户。
isRunningInTimer
类型:System.Booleantrue如果这种方法称为从计时器 ;否则为false。