Skip to main content

TdxCloudStorage.ProviderClassName Property

Specifies the cloud storage’s active data provider by its class name.

Declaration

property ProviderClassName: string read; write;

Property Value

Type
string

Remarks

The cloud storage component requires a valid online data provider with a configured authorization agent to be able to connect to an online file storage service and manage the stored data. Assign the name of the registered data provider class (a TdxCloudStorageProvider descendant) to the ProviderClassName property to create the corresponding provider with the default settings. The resulting provider is accessible via the Provider property.

If the cloud storage already has a data provider, changing the ProviderClassName or ProviderClass property value discards all settings of the provider and creates a new provider according to the specified class name or reference, respectively.

Note

The OnChanged event occurs in response to every ProviderClassName property value change. The cloud storage only destroys the currently active provider in response to assigning an empty string or an unregistered class name to the ProviderClassName property.

The default ProviderClassName property value is an empty string.

See Also