We recommend using Visual Studio 2017

MajorObject.Refresh Method (Boolean, RefreshType)

Updates current object from server definitions and loaded dependent objects if specified.

Namespace:  Microsoft.AnalysisServices
Assembly:  Microsoft.AnalysisServices (in Microsoft.AnalysisServices.dll)

public void Refresh(
	bool full,
	RefreshType type


Type: System.Boolean
Specifies a Boolean value to refresh dependent objects if true.
Type: Microsoft.AnalysisServices.RefreshType
Specifies a RefreshType value that determines which dependent objects to refresh.

If current object on the server has changed, the new definition will be instantiated. If specified, the loaded dependent objects will be changed to the new definition.