ShareSasBuilder Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
ShareSasBuilder(ShareFileSasPermissions, DateTimeOffset) |
Initializes a new instance of the ShareSasBuilder class to create a Azure File Sas. |
ShareSasBuilder(ShareSasPermissions, DateTimeOffset) |
Initializes a new instance of the ShareSasBuilder class to create a File Share Sas. |
ShareSasBuilder(ShareFileSasPermissions, DateTimeOffset)
- Source:
- ShareSasBuilder.cs
- Source:
- ShareSasBuilder.cs
Initializes a new instance of the ShareSasBuilder class to create a Azure File Sas.
public ShareSasBuilder (Azure.Storage.Sas.ShareFileSasPermissions permissions, DateTimeOffset expiresOn);
new Azure.Storage.Sas.ShareSasBuilder : Azure.Storage.Sas.ShareFileSasPermissions * DateTimeOffset -> Azure.Storage.Sas.ShareSasBuilder
Public Sub New (permissions As ShareFileSasPermissions, expiresOn As DateTimeOffset)
Parameters
- permissions
- ShareFileSasPermissions
The permissions associated with the shared access signature. The user is restricted to operations allowed by the permissions. This field must be omitted if it has been specified in an associated stored access policy.
- expiresOn
- DateTimeOffset
The time at which the shared access signature becomes invalid. This field must be omitted if it has been specified in an associated stored access policy.
Applies to
ShareSasBuilder(ShareSasPermissions, DateTimeOffset)
- Source:
- ShareSasBuilder.cs
- Source:
- ShareSasBuilder.cs
Initializes a new instance of the ShareSasBuilder class to create a File Share Sas.
public ShareSasBuilder (Azure.Storage.Sas.ShareSasPermissions permissions, DateTimeOffset expiresOn);
new Azure.Storage.Sas.ShareSasBuilder : Azure.Storage.Sas.ShareSasPermissions * DateTimeOffset -> Azure.Storage.Sas.ShareSasBuilder
Public Sub New (permissions As ShareSasPermissions, expiresOn As DateTimeOffset)
Parameters
- permissions
- ShareSasPermissions
The permissions associated with the shared access signature. The user is restricted to operations allowed by the permissions. This field must be omitted if it has been specified in an associated stored access policy.
- expiresOn
- DateTimeOffset
The time at which the shared access signature becomes invalid. This field must be omitted if it has been specified in an associated stored access policy.