AnalyticsMonitorFactory CreateStorage Method (String, String).NET Progress Telerik Platform Analytics Monitor Documentation, API Reference, Online Help | WPF, Silverlight, WinForms, Windows Phone Application Analytics
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.144.0 (3.2.144)
Syntax

public static IStorage CreateStorage(
	string folder,
	string identifier
)

Parameters

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

Return Value

An implementation of the IStorage interface for use on the file system.
Exceptions

ExceptionCondition
OnlineSystem 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