Share via


shared_access_policy::shared_access_policy Constructor

Initializes a new instance of the shared_access_policy class.

shared_access_policy();

shared_access_policy(
   utility::datetime expiry,
   uint8_t permission
);

shared_access_policy(
   utility::datetime start,
   utility::datetime expiry,
   uint8_t permission
);

Parameters

  • expiry
    The expiration date and time for the shared access policy.
  • permission
    A mask specifying permissions for the shared access policy.
  • start
    The start date and time for the shared access policy.

Requirements

Header: common.h

Namespace: azure::storage

See Also

Reference

shared_access_policy Class