共用方式為


SecurityHttpClient.SetAccessControlEntriesAsync 方法

命名空間:  Microsoft.VisualStudio.Services.Security.Client
組件:  Microsoft.VisualStudio.Services.WebApi (在 Microsoft.VisualStudio.Services.WebApi.dll 中)

語法

'宣告
Public Function SetAccessControlEntriesAsync ( _
    securityNamespaceId As Guid, _
    token As String, _
    accessControlEntries As IEnumerable(Of AccessControlEntry), _
    merge As Boolean, _
    userState As Object _
) As Task(Of IEnumerable(Of AccessControlEntry))
public Task<IEnumerable<AccessControlEntry>> SetAccessControlEntriesAsync(
    Guid securityNamespaceId,
    string token,
    IEnumerable<AccessControlEntry> accessControlEntries,
    bool merge,
    Object userState
)

參數

傳回值

類型:System.Threading.Tasks.Task<IEnumerable<AccessControlEntry>>

.NET Framework 安全性

請參閱

參考

SecurityHttpClient 類別

Microsoft.VisualStudio.Services.Security.Client 命名空間