Partager 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