Share via


AppInstallerManager.PauseAutoUpdatesUntil(String, DateTime) Method

Definition

Pauses automatic updates for the specified package until the specified date and time.

public:
 virtual void PauseAutoUpdatesUntil(Platform::String ^ packageFamilyName, DateTime dateTime) = PauseAutoUpdatesUntil;
void PauseAutoUpdatesUntil(winrt::hstring const& packageFamilyName, DateTime const& dateTime);
public void PauseAutoUpdatesUntil(string packageFamilyName, System.DateTimeOffset dateTime);
function pauseAutoUpdatesUntil(packageFamilyName, dateTime)
Public Sub PauseAutoUpdatesUntil (packageFamilyName As String, dateTime As DateTimeOffset)

Parameters

packageFamilyName
String

Platform::String

winrt::hstring

The package family name for the package for which automatic updates are paused.

dateTime
DateTime DateTimeOffset

The date and time when automatic updates are scheduled to resume.

Remarks

Call this method with the current DateTime to resume automatic updates.

Applies to