public override DiagramActionResult Do(IDiagramActionInstance actionInstance) { try { Microsoft.AnalysisServices.BackEnd.DataModelingSandbox sandbox = TabularHelpers.GetTabularSandboxFromActiveWindow(); if (sandbox == null) { throw new Exception("Can't get Sandbox!"); } IServiceProvider provider = TabularHelpers.GetTabularServiceProviderFromActiveWindow(); foreach (IDiagramNode node in actionInstance.Targets.OfType <IDiagramNode>()) { _plugin.ExecuteSyncDescriptions(sandbox, provider, node.Text); } } catch (System.Exception ex) { MessageBox.Show(ex.Message + "\r\n" + ex.StackTrace, "BIDS Helper - Error"); } return(new DiagramActionResult(null, (IDiagramObject)null)); }