AppInstallerManager.PauseAutoUpdatesUntil(String, DateTime) 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.
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.