Content.SetDefaultGatheringAccount Method
Sets the default crawler account and password.
Namespace: Microsoft.Office.Server.Search.Administration
Assembly: Microsoft.Office.Server.Search (in Microsoft.Office.Server.Search.dll)
Syntax
'Declaration
Public Sub SetDefaultGatheringAccount ( _
account As String, _
password As SecureString _
)
'Usage
Dim instance As Content
Dim account As String
Dim password As SecureString
instance.SetDefaultGatheringAccount(account, _
password)
public void SetDefaultGatheringAccount(
string account,
SecureString password
)
Parameters
account
Type: System.StringA string that contains the name of the crawler account.
password
Type: System.Security.SecureStringA string that contains the password for the crawler account.