共用方式為


AccountSasBuilder.ToSasQueryParameters Method

Definition

Overloads

ToSasQueryParameters(StorageSharedKeyCredential)

Use an account's StorageSharedKeyCredential to sign this shared access signature values to produce the proper SAS query parameters for authenticating requests.

ToSasQueryParameters(StorageSharedKeyCredential, String)

Use an account's StorageSharedKeyCredential to sign this shared access signature values to produce the proper SAS query parameters for authenticating requests.

ToSasQueryParameters(StorageSharedKeyCredential)

Source:
AccountSasBuilder.cs
Source:
AccountSasBuilder.cs

Use an account's StorageSharedKeyCredential to sign this shared access signature values to produce the proper SAS query parameters for authenticating requests.

public Azure.Storage.Sas.SasQueryParameters ToSasQueryParameters (Azure.Storage.StorageSharedKeyCredential sharedKeyCredential);
member this.ToSasQueryParameters : Azure.Storage.StorageSharedKeyCredential -> Azure.Storage.Sas.SasQueryParameters
Public Function ToSasQueryParameters (sharedKeyCredential As StorageSharedKeyCredential) As SasQueryParameters

Parameters

sharedKeyCredential
StorageSharedKeyCredential

The storage account's StorageSharedKeyCredential.

Returns

The SasQueryParameters used for authenticating requests.

Applies to

ToSasQueryParameters(StorageSharedKeyCredential, String)

Source:
AccountSasBuilder.cs
Source:
AccountSasBuilder.cs

Use an account's StorageSharedKeyCredential to sign this shared access signature values to produce the proper SAS query parameters for authenticating requests.

public Azure.Storage.Sas.SasQueryParameters ToSasQueryParameters (Azure.Storage.StorageSharedKeyCredential sharedKeyCredential, out string stringToSign);
member this.ToSasQueryParameters : Azure.Storage.StorageSharedKeyCredential * string -> Azure.Storage.Sas.SasQueryParameters
Public Function ToSasQueryParameters (sharedKeyCredential As StorageSharedKeyCredential, ByRef stringToSign As String) As SasQueryParameters

Parameters

sharedKeyCredential
StorageSharedKeyCredential

The storage account's StorageSharedKeyCredential.

stringToSign
String

For debugging purposes only. This string will be overwritten with the string to sign that was used to generate the SasQueryParameters.

Returns

The SasQueryParameters used for authenticating requests.

Applies to