SearchServiceApplication.SetCrawlAccountMasterKey method

Sets the master key that is used to encrypt the crawl account.

Namespace:  Microsoft.Office.Server.Search.Administration
Assembly:  Microsoft.Office.Server.Search (in Microsoft.Office.Server.Search.dll)

Syntax

'Declaration
Public Sub SetCrawlAccountMasterKey ( _
    masterKey As String _
)
'Usage
Dim instance As SearchServiceApplication
Dim masterKey As String

instance.SetCrawlAccountMasterKey(masterKey)
public void SetCrawlAccountMasterKey(
    string masterKey
)

Parameters

  • masterKey
    Type: System.String

    The master key that is used to encrypt the crawl account.

Remarks

The user must belong to the Administrator user group to set the master key that is used to encrypt the crawl account. The master key cannot be an empty string.

See also

Reference

SearchServiceApplication class

SearchServiceApplication members

Microsoft.Office.Server.Search.Administration namespace