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

AuthorizationClient.RemoveRoleAssignment Method

Definition

Deletes a role assignments based on the used options.

public System.Collections.Generic.IEnumerable<Microsoft.Azure.Commands.Resources.Models.Authorization.PSRoleAssignment> RemoveRoleAssignment (Microsoft.Azure.Commands.Resources.Models.Authorization.FilterRoleAssignmentsOptions options, string subscriptionId);
member this.RemoveRoleAssignment : Microsoft.Azure.Commands.Resources.Models.Authorization.FilterRoleAssignmentsOptions * string -> seq<Microsoft.Azure.Commands.Resources.Models.Authorization.PSRoleAssignment>
Public Function RemoveRoleAssignment (options As FilterRoleAssignmentsOptions, subscriptionId As String) As IEnumerable(Of PSRoleAssignment)

Parameters

options
FilterRoleAssignmentsOptions

The role assignment filtering options

subscriptionId
String

Current subscription id

Returns

The deleted role assignments

Applies to