Sdílet prostřednictvím


CloudTable.SetPermissionsAsync Method

Definition

Overloads

SetPermissionsAsync(TablePermissions)

Initiates an asynchronous operation to set permissions for the table.

SetPermissionsAsync(TablePermissions, CancellationToken)

Initiates an asynchronous operation to set permissions for the table.

SetPermissionsAsync(TablePermissions, TableRequestOptions, OperationContext)

Initiates an asynchronous operation to set permissions for the table.

SetPermissionsAsync(TablePermissions, TableRequestOptions, OperationContext, CancellationToken)

Initiates an asynchronous operation to set permissions for the table.

SetPermissionsAsync(TablePermissions)

Initiates an asynchronous operation to set permissions for the table.

public virtual System.Threading.Tasks.Task SetPermissionsAsync (Microsoft.Azure.Cosmos.Table.TablePermissions permissions);
abstract member SetPermissionsAsync : Microsoft.Azure.Cosmos.Table.TablePermissions -> System.Threading.Tasks.Task
override this.SetPermissionsAsync : Microsoft.Azure.Cosmos.Table.TablePermissions -> System.Threading.Tasks.Task
Public Overridable Function SetPermissionsAsync (permissions As TablePermissions) As Task

Parameters

permissions
TablePermissions

A TablePermissions object that represents the permissions to set.

Returns

A Task object that represents the asynchronous operation.

Applies to

SetPermissionsAsync(TablePermissions, CancellationToken)

Initiates an asynchronous operation to set permissions for the table.

public virtual System.Threading.Tasks.Task SetPermissionsAsync (Microsoft.Azure.Cosmos.Table.TablePermissions permissions, System.Threading.CancellationToken cancellationToken);
abstract member SetPermissionsAsync : Microsoft.Azure.Cosmos.Table.TablePermissions * System.Threading.CancellationToken -> System.Threading.Tasks.Task
override this.SetPermissionsAsync : Microsoft.Azure.Cosmos.Table.TablePermissions * System.Threading.CancellationToken -> System.Threading.Tasks.Task
Public Overridable Function SetPermissionsAsync (permissions As TablePermissions, cancellationToken As CancellationToken) As Task

Parameters

permissions
TablePermissions

A TablePermissions object that represents the permissions to set.

cancellationToken
CancellationToken

A CancellationToken to observe while waiting for a task to complete.

Returns

A Task object that represents the asynchronous operation.

Applies to

SetPermissionsAsync(TablePermissions, TableRequestOptions, OperationContext)

Initiates an asynchronous operation to set permissions for the table.

public virtual System.Threading.Tasks.Task SetPermissionsAsync (Microsoft.Azure.Cosmos.Table.TablePermissions permissions, Microsoft.Azure.Cosmos.Table.TableRequestOptions requestOptions, Microsoft.Azure.Cosmos.Table.OperationContext operationContext);
abstract member SetPermissionsAsync : Microsoft.Azure.Cosmos.Table.TablePermissions * Microsoft.Azure.Cosmos.Table.TableRequestOptions * Microsoft.Azure.Cosmos.Table.OperationContext -> System.Threading.Tasks.Task
override this.SetPermissionsAsync : Microsoft.Azure.Cosmos.Table.TablePermissions * Microsoft.Azure.Cosmos.Table.TableRequestOptions * Microsoft.Azure.Cosmos.Table.OperationContext -> System.Threading.Tasks.Task
Public Overridable Function SetPermissionsAsync (permissions As TablePermissions, requestOptions As TableRequestOptions, operationContext As OperationContext) As Task

Parameters

permissions
TablePermissions

A TablePermissions object that represents the permissions to set.

requestOptions
TableRequestOptions

A TableRequestOptions object that specifies additional options for the request.

operationContext
OperationContext

An Microsoft.Azure.Cosmos.OperationContext object that represents the context for the current operation.

Returns

A Task object that represents the asynchronous operation.

Applies to

SetPermissionsAsync(TablePermissions, TableRequestOptions, OperationContext, CancellationToken)

Initiates an asynchronous operation to set permissions for the table.

public virtual System.Threading.Tasks.Task SetPermissionsAsync (Microsoft.Azure.Cosmos.Table.TablePermissions permissions, Microsoft.Azure.Cosmos.Table.TableRequestOptions requestOptions, Microsoft.Azure.Cosmos.Table.OperationContext operationContext, System.Threading.CancellationToken cancellationToken);
abstract member SetPermissionsAsync : Microsoft.Azure.Cosmos.Table.TablePermissions * Microsoft.Azure.Cosmos.Table.TableRequestOptions * Microsoft.Azure.Cosmos.Table.OperationContext * System.Threading.CancellationToken -> System.Threading.Tasks.Task
override this.SetPermissionsAsync : Microsoft.Azure.Cosmos.Table.TablePermissions * Microsoft.Azure.Cosmos.Table.TableRequestOptions * Microsoft.Azure.Cosmos.Table.OperationContext * System.Threading.CancellationToken -> System.Threading.Tasks.Task
Public Overridable Function SetPermissionsAsync (permissions As TablePermissions, requestOptions As TableRequestOptions, operationContext As OperationContext, cancellationToken As CancellationToken) As Task

Parameters

permissions
TablePermissions

A TablePermissions object that represents the permissions to set.

requestOptions
TableRequestOptions

A TableRequestOptions object that specifies additional options for the request.

operationContext
OperationContext

An Microsoft.Azure.Cosmos.OperationContext object that represents the context for the current operation.

cancellationToken
CancellationToken

A CancellationToken to observe while waiting for a task to complete.

Returns

A Task object that represents the asynchronous operation.

Applies to