Click or drag to resize
AnalyticsMonitorFactoryCreateStorage Method (String, String)
Creates an IStorage which stores the data in given folder and with the given identifier. This instance can be used when creating the monitor instance by assigning it to the StorageInterface on the AnalyticsMonitorSettings instance. Use this overload to handle e.g. terminal services or shared machines where multiple users share the same machine but you need differentiated monitoring by passing e.g. the user name as identifier.

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


Type: SystemString
The path to the folder where the monitor should persist data.
Type: SystemString
The unique identifier to use for differentiating the storage.

Return Value

Type: IStorage
An implementation of the IStorage interface for use on the file system.
InvalidOperationExceptionIf unable to locate or create the specified folder. See inner exception for details.
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