ControlSite.ApplyServices Method (Control, IServiceProvider, ControlSite.ControlFilter)
Indicates the filter method to the control.
Namespace: Microsoft.SqlServer.Management.Controls
Assembly: Microsoft.SqlServer.Management.Controls (in Microsoft.SqlServer.Management.Controls.dll)
Syntax
'Declaration
Public Shared Sub ApplyServices ( _
control As Control, _
serviceProvider As IServiceProvider, _
filter As ControlSite..::..ControlFilter _
)
'Usage
Dim control As Control
Dim serviceProvider As IServiceProvider
Dim filter As ControlSite..::..ControlFilter
ControlSite.ApplyServices(control, serviceProvider, _
filter)
public static void ApplyServices(
Control control,
IServiceProvider serviceProvider,
ControlSite..::..ControlFilter filter
)
public:
static void ApplyServices(
Control^ control,
IServiceProvider^ serviceProvider,
ControlSite..::..ControlFilter^ filter
)
static member ApplyServices :
control:Control *
serviceProvider:IServiceProvider *
filter:ControlSite..::..ControlFilter -> unit
public static function ApplyServices(
control : Control,
serviceProvider : IServiceProvider,
filter : ControlSite..::..ControlFilter
)
Parameters
- control
Type: System.Windows.Forms.Control
Root control that retrieves the ISite interface.
- serviceProvider
Type: System.IServiceProvider
A service object of type serviceType.
- filter
Type: Microsoft.SqlServer.Management.Controls.ControlSite.ControlFilter
The method to use for the control site.