Removes the service of the specified type from the service container.
public void RemoveService(
Public Sub RemoveService(
serviceType As Type,
promote As Boolean
The type of service to remove.
true to promote this request to any parent service containers; otherwise, false.
The SchedulerControl implements IServiceProvider and IServiceContainer interfaces. In addition to providing services, it also provides a mechanism for adding and removing services. To obtain a service, call the ASPxScheduler.GetService method.