C1.LiveLinq.LiveViews Namespace > View Class : MaintenanceMode Property |
'Declaration Public Overridable Property MaintenanceMode As ViewMaintenanceMode
public virtual ViewMaintenanceMode MaintenanceMode {get; set;}
A view in Default mode (which is the default value for this property) is effectively in Immediate mode if it has a listener (for example, if a GUI control is bound to it); otherwise it is in Deferred mode. To find out whether the view is effectively in Deferred or in Immediate mode, you can use the DeferredMaintenance property.
If you set this property to Deferred, no listeners are allowed to register with this view. An attempt to register a listener will result in an exception.
See Also: View Maintenance Mode.
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2