DataPA Enterprise Dashboard Controls API Reference
Function to return a saved ManagedDashboard object from an OS file.

Namespace: DataPAEnterpriseDashboard
Assembly: DataPAEnterpriseDashboard (in DataPAEnterpriseDashboard.dll) Version: 1.0.90.0 (1.0.90.0)

Syntax

C#
public ManagedDashboard LoadFromFile(
	string FileName,
	ref Application Application = null,
	ref string ErrMessage = ""
)
Visual Basic
Public Function LoadFromFile ( 
	FileName As String,
	Optional ByRef Application As Application = Nothing,
	Optional ByRef ErrMessage As String = ""
) As ManagedDashboard
Visual C++
public:
virtual ManagedDashboard^ LoadFromFile(
	String^ FileName, 
	Application^% Application = nullptr, 
	String^% ErrMessage = L""
) sealed

Parameters

FileName
Type: System..::..String
The fully qualified filename of the saved ManagedDashboard.
Application (Optional)
Type: RunDataPA..::..Application%
The RunDataPA Application Object used to provide the core DataPA data functionality for this object.
ErrMessage (Optional)
Type: System..::..String%
Any returned error message.

Return Value

Type: ManagedDashboard
The a saved ManagedDashboard object.

Remarks