Share via


UserDataAccountSystemAccessManager.DeleteDeviceAccountAsync(String) Method

Definition

Note

This API is no longer supported and should not be called from your code.

Asynchronously deletes the specified device account.

public:
 static IAsyncAction ^ DeleteDeviceAccountAsync(Platform::String ^ accountId);
/// [Windows.Foundation.Metadata.RemoteAsync]
 static IAsyncAction DeleteDeviceAccountAsync(winrt::hstring const& accountId);
[Windows.Foundation.Metadata.RemoteAsync]
public static IAsyncAction DeleteDeviceAccountAsync(string accountId);
function deleteDeviceAccountAsync(accountId)
Public Shared Function DeleteDeviceAccountAsync (accountId As String) As IAsyncAction

Parameters

accountId
String

Platform::String

winrt::hstring

The ID of the device account to delete.

Returns

Returns an async action indicating that the operation has completed.

Attributes

Windows requirements

Device family
Windows 10 Anniversary Edition (introduced in 10.0.14393.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v3.0)
App capabilities
userDataAccountsProvider

Applies to