다음을 통해 공유


SearchServiceApplicationProxy.GetUserPreferenceSerializeHelper Method

Gets the user preference serialization helper from the Search administration database.

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

Syntax

'Declaration
Public Function GetUserPreferenceSerializeHelper ( _
    userID As Byte() _
) As UserPreferenceSerializeHelper
'Usage
Dim instance As SearchServiceApplicationProxy
Dim userID As Byte()
Dim returnValue As UserPreferenceSerializeHelper

returnValue = instance.GetUserPreferenceSerializeHelper(userID)
public UserPreferenceSerializeHelper GetUserPreferenceSerializeHelper(
    byte[] userID
)

Parameters

  • userID
    Type: []

    The user ID associated with the Search preference.

Return Value

Type: Microsoft.Office.Server.Search.Administration.UserPreferenceSerializeHelper
The user preference serialization helper.

Implements

ISearchSiteAdministrationServiceApplication.GetUserPreferenceSerializeHelper([])

Exceptions

Exception Condition
Exception

An error occurred during application execution.

Remarks

This method gets the serialization helper of the specified user preference in the current SearchServiceApplicationProxy.

See Also

Reference

SearchServiceApplicationProxy Class

SearchServiceApplicationProxy Members

Microsoft.Office.Server.Search.Administration Namespace