DataSourceProvider.Refresh Method

Definition

Initiates a refresh operation to the underlying data model. The result is returned on the Data property.

public:
 void Refresh();
public void Refresh ();
member this.Refresh : unit -> unit
Public Sub Refresh ()

Remarks

A refresh operation is typically asynchronous, a DataChanged event is raised when the Data property assumed a new value. If the refresh operation fails, the Data property is set to null; the Error property is set with the error exception. The application can call Refresh while a previous refresh is still underway. Calling Refresh twice raises the DataChanged event twice.

Applies to