你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

BlobSasBuilder.ToSasQueryParameters 方法

定义

重载

ToSasQueryParameters(StorageSharedKeyCredential)

使用帐户的 StorageSharedKeyCredential 对此共享访问签名值进行签名,以生成适当的 SAS 查询参数来对请求进行身份验证。

ToSasQueryParameters(UserDelegationKey, String)

使用帐户的 UserDelegationKey 对此共享访问签名值进行签名,以生成适当的 SAS 查询参数来对请求进行身份验证。

ToSasQueryParameters(StorageSharedKeyCredential)

Source:
BlobSasBuilder.cs
Source:
BlobSasBuilder.cs

使用帐户的 StorageSharedKeyCredential 对此共享访问签名值进行签名,以生成适当的 SAS 查询参数来对请求进行身份验证。

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

参数

sharedKeyCredential
StorageSharedKeyCredential

存储帐户的 StorageSharedKeyCredential

返回

BlobSasQueryParameters用于对请求进行身份验证的 。

适用于

ToSasQueryParameters(UserDelegationKey, String)

Source:
BlobSasBuilder.cs
Source:
BlobSasBuilder.cs

使用帐户的 UserDelegationKey 对此共享访问签名值进行签名,以生成适当的 SAS 查询参数来对请求进行身份验证。

public Azure.Storage.Sas.BlobSasQueryParameters ToSasQueryParameters (Azure.Storage.Blobs.Models.UserDelegationKey userDelegationKey, string accountName);
member this.ToSasQueryParameters : Azure.Storage.Blobs.Models.UserDelegationKey * string -> Azure.Storage.Sas.BlobSasQueryParameters
Public Function ToSasQueryParameters (userDelegationKey As UserDelegationKey, accountName As String) As BlobSasQueryParameters

参数

accountName
String

存储帐户的名称。

返回

BlobSasQueryParameters用于对请求进行身份验证的 。

适用于