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