共用方式為


SharedAccessFilePolicy Class

Definition

Represents a shared access policy, which specifies the start time, expiry time, and permissions for a shared access signature.

public sealed class SharedAccessFilePolicy
type SharedAccessFilePolicy = class
Public NotInheritable Class SharedAccessFilePolicy
Inheritance
SharedAccessFilePolicy

Constructors

SharedAccessFilePolicy()

Initializes a new instance of the SharedAccessFilePolicy class.

Properties

Permissions

Gets or sets the permissions for a shared access signature associated with this shared access policy.

SharedAccessExpiryTime

Gets or sets the expiry time for a shared access signature associated with this shared access policy.

SharedAccessStartTime

Gets or sets the start time for a shared access signature associated with this shared access policy.

Methods

PermissionsFromString(String)

Constructs a SharedAccessFilePermissions object from a permissions string.

PermissionsToString(SharedAccessFilePermissions)

Converts the permissions specified for the shared access policy to a string.

Applies to