SystemUpdateManager.UnblockAutomaticRebootAsync(String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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