ShareFileClient.GetUriWithSas(ShareFileClient) Method
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.
Get the Uri with SAS appended if the ShareFileClient has an AzureSasCredential, for use as the source URI when performing service to service copy where the client was initialized with an AzureSasCredential.
To retrieve, please utilize the ShareUriBuilder. To inspect the SAS token (after parsed) utilize the SasQueryParameters or ShareSasQueryParameters.
protected static Uri GetUriWithSas(Azure.Storage.Files.Shares.ShareFileClient client);
static member GetUriWithSas : Azure.Storage.Files.Shares.ShareFileClient -> Uri
Protected Shared Function GetUriWithSas (client As ShareFileClient) As Uri
Parameters
- client
- ShareFileClient
The storage client from which to retrieve the URI and SAS credential.
Returns
The URI with SAS appended if the client has an AzureSasCredential; otherwise, the original URI.