Share via


SystemUpdateManager.BlockAutomaticRebootAsync(String) メソッド

定義

UnblockAutomaticRebootAsync が呼び出されるか、システム ポリシーによって再起動が適用されるまで、更新の自動再起動をブロックします。

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

パラメーター

lockId
String

Platform::String

winrt::hstring

A-Z、a-z、0-9 で構成される識別子。 Guid.NewGuid.ToString() を使用して、新しいランダム ID を生成します。

戻り値

属性

適用対象