Share via


service_properties::cors Method

Gets the Cross Origin Resource Sharing (CORS) properties for the service.

const std::vector<cors_rule>& cors() const;

std::vector<cors_rule>& cors();

Return Value

The CORS properties for the service.

Requirements

Header: common.h

Namespace: azure::storage

See Also

Reference

service_properties Class