UseVirtualHosting Property
Determines which style request to use.
Syntax
[VB.NET] Public Property UseVirtualHosting As Boolean
[C#] public bool UseVirtualHosting {get; set;}
Remarks
If set to true, buckets will be referenced in the request using the hosted-style request: http://yourbucket.s3.amazonaws.com/yourobject. If false (default), the component will use the path-style request: http://s3.amazonaws.com/yourbucket/yourobject. This must be set to true when LocationConstraint is true.
NOTE: When set to true, there are more limitations when choosing a bucket name due to DNS server naming restrictions. See Amazon's documentation for more detailed naming information.
This property is not available at design time.
Default Value
False