UseVirtualHosting Property

Determines which style request to use.

Syntax

bool GetUseVirtualHosting();
int SetUseVirtualHosting(bool bUseVirtualHosting);

Default Value

false

Remarks

If set to true, buckets will be referenced in the request using the hosted-style request: http://yourbucket.storage.googleapis.com/yourobject. If false (default), the class will use the path-style request: http://storage.googleapis.com/yourbucket/yourobject.

NOTE: When set to true, there are more limitations when choosing a bucket name due to DNS server naming restrictions. See Google's documentation for more detailed naming information.

This property is not available at design time.

Data Type

Boolean

Copyright (c) 2022 /n software inc. - All rights reserved.
IPWorks Cloud 2020 Qt Edition - Version 20.0 [Build 8265]