次の方法で共有


SystemUpdateManager.UnblockAutomaticRebootAsync(String) メソッド

定義

ブロックされている場合は、自動更新の再起動のブロックを解除します。

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)

パラメーター

lockId
String

Platform::String

winrt::hstring

A-Z、a-z、0-9 で構成される識別子。 Guid.NewGuid.ToString() を使用して、新しいランダム ID を生成します。 BlockAutomaticRebootAsync に渡される値と一致する必要があります。

戻り値

自動再起動時にブロックが残っていない場合は true を返します。

属性

適用対象

こちらもご覧ください