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

TableClient.SetAccessPolicy Method

Definition

sets stored access policies for the table that may be used with Shared Access Signatures.

public virtual Azure.Response SetAccessPolicy(System.Collections.Generic.IEnumerable<Azure.Data.Tables.Models.TableSignedIdentifier> tableAcl, System.Threading.CancellationToken cancellationToken = default);
abstract member SetAccessPolicy : seq<Azure.Data.Tables.Models.TableSignedIdentifier> * System.Threading.CancellationToken -> Azure.Response
override this.SetAccessPolicy : seq<Azure.Data.Tables.Models.TableSignedIdentifier> * System.Threading.CancellationToken -> Azure.Response
Public Overridable Function SetAccessPolicy (tableAcl As IEnumerable(Of TableSignedIdentifier), Optional cancellationToken As CancellationToken = Nothing) As Response

Parameters

tableAcl
IEnumerable<TableSignedIdentifier>

the access policies for the table.

cancellationToken
CancellationToken

A CancellationToken controlling the request lifetime.

Returns

Exceptions

The server returned an error. See Message for details returned from the server.

Applies to