AutomaticUpdatesPermissionType 列挙 (wuapi.h)

IAutomaticUpdatesSettings インターフェイスの NotificationLevel プロパティまたは IAutomaticUpdatesSettings2 インターフェイスの IncludeRecommendedUpdates プロパティを設定する方法を定義します。

構文

typedef enum tagAutomaticUpdatesPermissionType {
  auptSetNotificationLevel = 1,
  auptDisableAutomaticUpdates = 2,
  auptSetIncludeRecommendedUpdates = 3,
  auptSetFeaturedUpdatesEnabled = 4,
  auptSetNonAdministratorsElevated = 5
} AutomaticUpdatesPermissionType;

定数

 
auptSetNotificationLevel
値: 1
IAutomaticUpdatesSettings::NotificationLevel プロパティを設定する機能。
auptDisableAutomaticUpdates
値: 2
IAutomaticUpdatesSettings::NotificationLevel プロパティを aunlDisabled に設定する機能。
auptSetIncludeRecommendedUpdates
値: 3
IAutomaticUpdatesSettings2::IncludedRecommendedUpdates プロパティを設定する機能。
auptSetFeaturedUpdatesEnabled
値: 4
IAutomaticUpdatesSettings3::FeaturedUpdatesEnabled プロパティを設定する機能。
auptSetNonAdministratorsElevated
値: 5
IAutomaticUpdatesSettings3::NonAdministratorsElevated プロパティを設定する機能。

注釈

おすすめの更新通知は、Windows Vista 以降でのみサポートされています。 IAutomaticUpdatesSettings3 をサポートするWindows Update エージェント (WUA) のバージョンを実行している Windows XP システムでは、IAutomaticUpdatesSettings3::FeaturedUpdatesEnabled 値は常にVARIANT_FALSEされ、その値を変更しようとするとエラーが発生します。

おすすめの更新通知は、自動更新が有効になっている場合にのみサポートされます。 [自動更新] が [更新プログラムにチェックしない (推奨されません)] に設定されている場合、IAutomaticUpdatesSettings3::FeaturedUpdatesEnabled 値は常にVARIANT_FALSEされ、その値を変更しようとするとエラーが発生します。

おすすめの更新通知は、特定の更新サービスでのみサポートされています。 現在、サポートされている更新サービスは Microsoft Update のみです。 現在、別のサービス (Windows Update、または WSUS サーバーから) 更新プログラムを受信するように自動更新が構成されている場合、IAutomaticUpdatesSettings3::FeaturedUpdatesEnabled 値は常にVARIANT_FALSEされ、その値を変更しようとするとエラーが発生します。

要件

要件
サポートされている最小のクライアント Windows XP、Windows 2000 Professional SP3 [デスクトップ アプリのみ]
サポートされている最小のサーバー Windows Server 2003、Windows 2000 Server SP3 [デスクトップ アプリのみ]
Header wuapi.h