Content.SetDefaultGatheringAccount 方法 (Microsoft.Office.Server.Search.Administration)

Sets the default crawler account and password.

命名空间: Microsoft.Office.Server.Search.Administration
程序集: Microsoft.Office.Server.Search (在 microsoft.office.server.search.dll 中)

语法

声明
Public Sub SetDefaultGatheringAccount ( _
    account As String, _
    password As SecureString _
)
用法
Dim instance As Content
Dim account As String
Dim password As SecureString

instance.SetDefaultGatheringAccount(account, password)
public void SetDefaultGatheringAccount (
    string account,
    SecureString password
)

参数

  • account
    A string that contains the name of the crawler account.
  • password
    A string that contains the password for the crawler account.

另请参阅

参考

Content 类
Content 成员
Microsoft.Office.Server.Search.Administration 命名空间

其他资源

定义爬网规则和文件类型
企业级搜索管理对象模型入门
内容源概述
管理内容
企业级搜索安全模型