UserDataAccountSystemAccessManager.AddAndShowDeviceAccountsAsync 方法

定义

异步显示系统 UI,用于管理指定帐户的同步关系。

public:
 static IAsyncOperation<IVectorView<Platform::String ^> ^> ^ AddAndShowDeviceAccountsAsync(IIterable<DeviceAccountConfiguration ^> ^ accounts);
 static IAsyncOperation<IVectorView<winrt::hstring>> AddAndShowDeviceAccountsAsync(IIterable<DeviceAccountConfiguration> const& accounts);
public static IAsyncOperation<IReadOnlyList<string>> AddAndShowDeviceAccountsAsync(IEnumerable<DeviceAccountConfiguration> accounts);
function addAndShowDeviceAccountsAsync(accounts)
Public Shared Function AddAndShowDeviceAccountsAsync (accounts As IEnumerable(Of DeviceAccountConfiguration)) As IAsyncOperation(Of IReadOnlyList(Of String))

参数

accounts

IIterable<DeviceAccountConfiguration>

IEnumerable<DeviceAccountConfiguration>

在系统 UI 中要管理的帐户列表。

返回

返回帐户的更新列表。

Windows 要求

要求 说明
应用功能
userDataAccountsProvider

适用于