Click or drag to resize
AnalyticsMonitorFactoryCreateStorage Method (String)
Creates an IStorage which stores the data in given folder. This instance can be used when creating the monitor instance by assigning it to the StorageInterface on the AnalyticsMonitorSettings instance.

Namespace: EQATEC.Analytics.Monitor
Assembly: EQATEC.Analytics.Monitor (in EQATEC.Analytics.Monitor.dll) Version: 3.2.1.0 (3.2.1)
Syntax
public static IStorage CreateStorage(
	string folder
)

Parameters

folder
Type: SystemString
The path to the folder where the monitor should persist data.

Return Value

Type: IStorage
An implementation of the IStorage interface for use on the file system.
Exceptions
ExceptionCondition
InvalidOperationExceptionIf unable to locate or create the specified folder. See inner exception for details.
Remarks
This call will attempt to create the given folder it it does not already exists. If there are no permissions or if the folder specifies an invalid folder path the method will raise an exception.
See Also