Exago .NET API Documentation
Api Constructor(String,String,String,Boolean)
WebReports.Api Namespace > Api Class > Api Constructor : Api Constructor(String,String,String,Boolean)
Virtual directory of Exago's location. This should be set to an absolute path (i.e. /ExagoWebSite/Exago).
Optionally, provide the name of an optional XML configuration file which will be loaded into the API object. If not provided, the default WebReports.xml will be used.
Optionally, provide the an Azure path where the configFn can be found if the configuration is hosted in the cloud. The specified Azure path must match that in app.config in the Exago installation. See Azure Cloud Support for more information.

This parameter should always be set to True or omitted.

Setting this argument to False will cause the API to attempt to write log data to the Web Application's log file WebReportsLog.txt which will be locked and unavailable for writing.
Create a new API object, providing at a minimum the physical or virtual location of the Exago installation. Initializes an Api object and sets the AppPath Property and optionally the configuration file name and cloud storage connection string.
Syntax
public Api( 
   System.string appPath,
   System.string configFn,
   System.string configStorageConnStr,
   System.bool logIsApi
)

Parameters

appPath
Virtual directory of Exago's location. This should be set to an absolute path (i.e. /ExagoWebSite/Exago).
configFn
Optionally, provide the name of an optional XML configuration file which will be loaded into the API object. If not provided, the default WebReports.xml will be used.
configStorageConnStr
Optionally, provide the an Azure path where the configFn can be found if the configuration is hosted in the cloud. The specified Azure path must match that in app.config in the Exago installation. See Azure Cloud Support for more information.
logIsApi

This parameter should always be set to True or omitted.

Setting this argument to False will cause the API to attempt to write log data to the Web Application's log file WebReportsLog.txt which will be locked and unavailable for writing.
See Also

Reference

Api Class
Api Members
Overload List