Share via


IUccUserSearchQuery.set_SearchPreference Method

This content is no longer actively maintained. It is provided as is, for anyone who may still be using these technologies, with no warranties or claims of accuracy with regard to the most recent product version or service release.

Sets the search preference of a specified search type.

Namespace: Microsoft.Office.Interop.UccApi
Assembly: Microsoft.Office.Interop.UccApi (in microsoft.office.interop.uccapi.dll)

Syntax

'Declaration
Sub set_SearchPreference ( _
    enPreference As UCC_USER_SEARCH_PREFERENCE, _
    dwValue As UInteger _
)
void set_SearchPreference (
    UCC_USER_SEARCH_PREFERENCE enPreference,
    uint dwValue
)
void set_SearchPreference (
    UCC_USER_SEARCH_PREFERENCE enPreference, 
    unsigned int dwValue
)
void set_SearchPreference (
    UCC_USER_SEARCH_PREFERENCE enPreference, 
    UInt32 dwValue
)
function set_SearchPreference (
    enPreference : UCC_USER_SEARCH_PREFERENCE, 
    dwValue : uint
)

Parameters

  • dwValue
    A value of the DWORD (uint, for a .NET application) type.

Remarks

For the search preference of the UCC_USER_SEARCH_PREFERENCE.UCCUSP_MAX_MATCHES type, the preference value is the maximum number of matching users to be returned in a result. For the search preference of the UCC_USER_SEARCH_PREFERENCE.UCCUSP_TIME_LIMIT type, the preference value is the time limit for an individual user search before returning results for users found.

Thread Safety

All public static (Shared in Visual Basic) members of this type are thread-safe. Instance members are not guaranteed to be thread-safe.

Platforms

Development Platforms

Windows XP Professional with Service Pack 2 (SP2), Windows Server 2000 with Service Pack 4, Windows Server 2003, Windows Vista Ultimate Edition, Windows Vista Business Edition, Windows Vista Enterprise Edition

Target Platforms

See Also

Reference

IUccUserSearchQuery Interface
IUccUserSearchQuery Members
Microsoft.Office.Interop.UccApi Namespace