다음을 통해 공유


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