Aracılığıyla paylaş


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