Share via


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.String

    A string that contains the name of the crawler account.

See also

Reference

Content class

Content members

Microsoft.Office.Server.Search.Administration namespace