Share via


SystemUpdateManager.UnblockAutomaticRebootAsync(String) Method

Definition

Unblock automatic update reboots, if blocked.

public:
 static IAsyncOperation<bool> ^ UnblockAutomaticRebootAsync(Platform::String ^ lockId);
/// [Windows.Foundation.Metadata.RemoteAsync]
 static IAsyncOperation<bool> UnblockAutomaticRebootAsync(winrt::hstring const& lockId);
[Windows.Foundation.Metadata.RemoteAsync]
public static IAsyncOperation<bool> UnblockAutomaticRebootAsync(string lockId);
function unblockAutomaticRebootAsync(lockId)
Public Shared Function UnblockAutomaticRebootAsync (lockId As String) As IAsyncOperation(Of Boolean)

Parameters

lockId
String

Platform::String

winrt::hstring

Identifier consisting of A-Z,a-z,0-9. Use Guid.NewGuid.ToString() to generate a new random id. Must match the value passed into BlockAutomaticRebootAsync.

Returns

Returns true if no blocks remain on automatic reboots.

Attributes

Applies to

See also