Skip to main content

TdxCloudStorage.ProviderClass Property

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

Declaration

property ProviderClass: TdxCloudStorageProviderClass read; write;

Property Value

Type
TdxCloudStorageProviderClass

Remarks

The cloud storage component needs 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 reference to the required data provider class (a TdxCloudStorageProvider descendant) to the ProviderClass 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.

Note

The OnChanged event occurs every time the ProviderClass property value changes.

The default ProviderClass property value is nil.

See Also