Saves the dashboard to the specified XML file.
A String that specifies the path to a file to which the dashboard should be saved.
To save a dashboard to a stream, use another overload of the SaveToXml method that takes a stream parameter.
To load a dashboard from a file or stream, use the Dashboard.LoadFromXml method.
The following code snippet shows how to save a dashboard to the project's Data folder when you click a button: