Share via


IVsGlobalSearch.SetProviderEnabled(Guid, Boolean) Method

Definition

Enables or disables the specified search provider.

public:
 void SetProviderEnabled(Guid guidCategoryId, bool fEnabled);
public void SetProviderEnabled (Guid guidCategoryId, bool fEnabled);
abstract member SetProviderEnabled : Guid * bool -> unit
Public Sub SetProviderEnabled (guidCategoryId As Guid, fEnabled As Boolean)

Parameters

guidCategoryId
Guid

[in] GUID that identifies the category of the search provider.

fEnabled
Boolean

Specifies whether the search provider is to be enabled or disabled. If true, the search provider is enabled. If false, the search provider is disabled.

Applies to