共用方式為


IUpdate Interface

 

Applies To: Windows Server Update Services

Use this interface to approve or decline updates for deployment and get information about the update. To get this interface, call one of the following methods: GetUpdate; GetUpdate; GetUpdate; GetUpdate; Item.

Namespace:   Microsoft.UpdateServices.Administration
Assembly:  Microsoft.UpdateServices.Administration (in Microsoft.UpdateServices.Administration.dll)

Syntax

public interface IUpdate
public interface class IUpdate
type IUpdate = interface end
Public Interface IUpdate

Properties

Name Description
System_CAPS_pubproperty AdditionalInformationUrls

Gets a collection of URLs provided by the publisher of the update that provide additional information about the update.

System_CAPS_pubproperty ArrivalDate

Gets the date and time when the metadata for this revision of the update finished downloading to the WSUS server.

System_CAPS_pubproperty CompanyTitles

Gets the titles of all the companies to which this update belongs.

System_CAPS_pubproperty CreationDate

Gets the date and time when this revision of the update's metadata was authored.

System_CAPS_pubproperty Description

Gets a short description of the update.

System_CAPS_pubproperty HasEarlierRevision

Gets whether the WSUS server contains earlier revisions of this update.

System_CAPS_pubproperty HasLicenseAgreement

Gets whether the update has an associated license agreement.

System_CAPS_pubproperty HasStaleUpdateApprovals

Gets whether an older revision of the update contains an approval.

System_CAPS_pubproperty HasSupersededUpdates

Gets whether if the update supersedes other updates.

System_CAPS_pubproperty Id

Gets the GUID of the update.

System_CAPS_pubproperty InstallationBehavior

Gets the installation behavior of the update.

System_CAPS_pubproperty IsApproved

Gets whether this revision of the update is approved for at least one target group.

System_CAPS_pubproperty IsDeclined

Gets whether this update is declined.

System_CAPS_pubproperty IsEditable

Gets whether this update is editable.

System_CAPS_pubproperty IsLatestRevision

Gets whether this revision is the latest revision of the update.

System_CAPS_pubproperty IsSuperseded

Gets whether this update is superseded by related updates.

System_CAPS_pubproperty IsWsusInfrastructureUpdate

Gets whether this update is a WSUS infrastructure update.

System_CAPS_pubproperty KnowledgebaseArticles

Gets the Knowledge Base article numbers that describe an issue related to or fixed by this update.

System_CAPS_pubproperty LegacyName

Gets the name of the update used in previous versions.

System_CAPS_pubproperty MsrcSeverity

Gets the maximum severity rating of the Microsoft Security Response Center (MSRC) bulletin that is associated with the update.

System_CAPS_pubproperty ProductFamilyTitles

Gets the titles of all product family categories to which the update belongs.

System_CAPS_pubproperty ProductTitles

Gets the titles of all product categories to which the update belongs.

System_CAPS_pubproperty PublicationState

Gets the publication state of the update.

System_CAPS_pubproperty RequiresLicenseAgreementAcceptance

Gets whether the update requires a user to accept the license agreement.

System_CAPS_pubproperty SecurityBulletins

Gets Security Bulletin numbers. The bulletins describe security issues and changes that are related to the update.

System_CAPS_pubproperty State

Gets the current state of the update.

System_CAPS_pubproperty Title

Gets the title of the update.

System_CAPS_pubproperty UninstallationBehavior

Gets the removal behavior of the update.

System_CAPS_pubproperty UpdateClassificationTitle

Gets the title of the classification to which the update belongs.

System_CAPS_pubproperty UpdateSource

Gets the original source of this update.

System_CAPS_pubproperty UpdateType

Gets the type of the update.

Methods

Name Description
System_CAPS_pubmethod AcceptLicenseAgreement()

Accepts the license agreement that is associated with the update.

System_CAPS_pubmethod Approve(UpdateApprovalAction, IComputerTargetGroup)

Approves an update for deployment to clients.

System_CAPS_pubmethod Approve(UpdateApprovalAction, IComputerTargetGroup, DateTime)

Approves an update for deployment to clients and provides a deadline by when the client must act on the update.

System_CAPS_pubmethod ApproveForOptionalInstall(IComputerTargetGroup)

Approves this update for optional installation.

System_CAPS_pubmethod CancelDownload()

Stops downloading the update and its dependencies to the WSUS server.

System_CAPS_pubmethod Decline()

Declines the update for deployment.

System_CAPS_pubmethod ExpirePackage()

Revises the locally published package to expire it.

System_CAPS_pubmethod ExportPackageMetadata(String)

Exports an SDP file for a locally published update.

System_CAPS_pubmethod GetChangesFromPreviousRevision()

Gets the reasons for why the update was revised.

System_CAPS_pubmethod GetHashCode()

Serves as a hash function for the current update, suitable for use in hashing algorithms and data structures, such as a hash table.

System_CAPS_pubmethod GetInstallableItems()

Gets the directly bundled, non-explicitly-deployable child updates of this update. Creates an installable item on behalf of this update if the update itself has files.

System_CAPS_pubmethod GetLicenseAgreement()

Gets the license agreement for this update.

System_CAPS_pubmethod GetRelatedUpdates(UpdateRelationship)

Gets related updates.

System_CAPS_pubmethod GetSummary(ComputerTargetScope)

Gets summary information about this update across the computers that match the specified criteria.

System_CAPS_pubmethod GetSummaryForComputerTargetGroup(IComputerTargetGroup)

Gets the summary information about this update for the specified IComputerTargetGroup.

System_CAPS_pubmethod GetSummaryForComputerTargetGroup(IComputerTargetGroup, Boolean)

Gets the summary information about this update for the specified IComputerTargetGroup.

System_CAPS_pubmethod GetSummaryPerComputerTargetGroup()

Gets a collection of summary information for each target group to which the update applies.

System_CAPS_pubmethod GetSummaryPerComputerTargetGroup(Boolean)

Returns the summary information reported up to the server for all IComputerTargetGroup objects.

System_CAPS_pubmethod GetSupportedUpdateLanguages()

Gets a collection of the languages that this update supports.

System_CAPS_pubmethod GetUpdateApprovals()

Gets a collection of all approvals for this update.

System_CAPS_pubmethod GetUpdateApprovals(IComputerTargetGroup)

Gets a collection of approvals for this update. The update must have been approved for deployment to the given target group.

System_CAPS_pubmethod GetUpdateApprovals(IComputerTargetGroup, UpdateApprovalAction, DateTime, DateTime)

Gets a collection of approvals for this update based on the given criteria.

System_CAPS_pubmethod GetUpdateCategories()

Gets a collection of product categories to which this update belongs.

System_CAPS_pubmethod GetUpdateClassification()

Gets the classification to which the update belongs.

System_CAPS_pubmethod GetUpdateEventHistory(DateTime, DateTime)

Gets the event history associated with this update.

System_CAPS_pubmethod GetUpdateInstallationInfoPerComputerTarget(ComputerTargetScope)

Gets the installation information about this update for each computer that matches the specified search filter.

System_CAPS_pubmethod GetUpdateInstallationInfoPerComputerTarget(IComputerTargetGroup)

Gets a collection of installation information for each client in the specified target group.

System_CAPS_pubmethod GetUpdateInstallationInfoPerComputerTarget(IComputerTargetGroup, Boolean)

Gets the installation information about this update for each computer in the specified target group.

System_CAPS_pubmethod PurgeAssociatedReportingEvents(DateTime, DateTime)

Uses the specified date range to remove events that are associated with this update.

System_CAPS_pubmethod Refresh()

Refreshes the properties of this update with the latest values.

System_CAPS_pubmethod RefreshUpdateApprovals()

Moves existing approvals from older revisions to the latest revision of this update.

System_CAPS_pubmethod ResumeDownload()

Identifies to the synchronization agent the update to download.

See Also

Microsoft.UpdateServices.Administration Namespace

Return to top