SPManagedAccount.DeployFarmAdminCredentials 方法

部署到服务器场管理的托管的帐户。

命名空间:  Microsoft.SharePoint.Administration
程序集:  Microsoft.SharePoint(位于 Microsoft.SharePoint.dll 中)

语法

声明
Public Function DeployFarmAdminCredentials ( _
    throwIfNoAdminPool As Boolean, _
    isRunningInTimer As Boolean _
) As Boolean
用法
Dim instance As SPManagedAccount
Dim throwIfNoAdminPool As Boolean
Dim isRunningInTimer As Boolean
Dim returnValue As Boolean

returnValue = instance.DeployFarmAdminCredentials(throwIfNoAdminPool, _
    isRunningInTimer)
public bool DeployFarmAdminCredentials(
    bool throwIfNoAdminPool,
    bool isRunningInTimer
)

参数

  • throwIfNoAdminPool
    类型:System.Boolean

    true引发错误,如果找不到管理应用程序池 ;否则为false。

  • isRunningInTimer
    类型:System.Boolean

    true如果这种方法称为从计时器 ;否则为false。

返回值

类型:System.Boolean
true如果的托管的帐户已成功部署到服务器场管理 ;否则为false。

另请参阅

引用

SPManagedAccount 类

SPManagedAccount 成员

Microsoft.SharePoint.Administration 命名空间