Refresh;
The Refresh method refreshes the structure of the ADOMD dictionary in repository based on the information about dictionary obtained from server.
Executing the example requires that the repository contains an ADOMD catalog with the ADOMDTest identifier. The catalog includes the ADOMD dictionary with the DimTest identifier.
Sub UserProc;
Var
MB: IMetabase;
Dim: IAdoMdDimension;
Begin
MB := MetabaseClass.Active;
Dim := MB.ItemByIdNamespace("DimTest", MB.GetObjectKeyById("ADOMDTest")).Edit As IAdoMdDimension;
Dim.Refresh;
(Dim As IMetabaseObject).Save;
End Sub UserProc;
The structure of specified ADOMD dictionary is refreshed according to the dictionary information obtained from server when executing the example.
See also: