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 命名空间