Skip to main content

TdxCloudStorage.Connected Property

Specifies if the cloud storage component is connected to an online account.

Declaration

property Connected: Boolean read; write; default False;

Property Value

Type Default
Boolean False

Remarks

Set this property to True to attempt to authorize the cloud storage component in an online account and connect to the corresponding file storage service. The cloud storage attempts to use the active provider and the authorization agent currently associated with it. If the connection attempt is unsuccessful, the Connected property value remains False. Handle the authorization agent’s OnError event to identify why an authorization or authentication error has occurred.

To safely terminate a connection to an account, set the Connected property to False.

Note

The OnConnectedChanged event occurs every time the Connected property value changes.

The default Connected property value is False.

See Also