UpdateScope Members

Defines the filter for a list of updates.

The following tables list the members exposed by the UpdateScope type.

  Name Description
UpdateScope Initializes a new instance of UpdateScope.
Top

  Name Description
public property ApprovedComputerTargetGroups Gets the list of target groups to search for approvals. An update will be included only if it is approved for install or uninstall to at least one of these groups. If the list is empty, then no filtering will be done based on approved target groups. Defaults to empty.
public property ApprovedStates Gets or sets the approval states to search for. An update will be included only if it matches at least one of the specified states. This value may be a combination of any number of values from ApprovedStates. Defaults to Any.
public property Categories Gets or sets the list of update categories to search. An update will be included only if it belongs to at least one of these groups. If the list is empty, then no filtering will be done based on category; updates from all categories will be included. Defaults to empty.
public property Classifications Gets or sets the list of update classifications to search. An update will be included only if it belongs to at least one of these classifications. If the list is empty, then no filtering will be done based on classification; updates from all classifications will be included. Defaults to empty.
public property ExcludedInstallationStates Gets or sets the installation states to exclude. An update will be included only if it does not have any computers in any of the specified states. This value may be a combination of any number of values from UpdateInstallationStates. Defaults to 0.
public property ExcludeOptionalUpdates Gets or sets whether to exclude optional updates from the list.
public property FromArrivalDate Gets or sets the minimum arrival date to search for. An update will be included only if its arrival date is greater than or equal to this value.
public property FromCreationDate Gets or sets the minimum creation date to search for. An update will be included only if its creation date is greater than or equal to this value.
public property IncludedInstallationStates Gets or sets the installation states to search for. An update will be included only if it has at least one computer in one of the specified states. This value may be a combination of any number of values from UpdateInstallationStates.
public property IsWsusInfrastructureUpdate Gets or sets whether or not to filter for WSUS infrastructure updates. If set to true, only WSUS infrastructure updates will be included. If set to false, all updates are included. Defaults to false.
public property TextIncludes Gets or sets the string to search for. An update will be included only if its Title, Description, Knowledge Base articles, or security bulletins contains this string.
public property TextNotIncludes Gets or sets the string to exclude. An update will be not be included if its Title, Description, Knowledge Base articles, or security bulletins contains this string.
public property ToArrivalDate Gets or sets the maximum arrival date to search for. An update will be included only if its arrival date is less than or equal to this value.
public property ToCreationDate Gets or sets the maximum creation date to search for. An update will be included only if its creation date is less than or equal to this value.
public property UpdateApprovalActions Gets or sets the update approval actions to search for. An update will be included only if it is approved to at least one computer target group for one of the specified approval actions. This value may be a combination of any number of values from UpdateApprovalActions. Defaults to All.
public property UpdateApprovalScope Gets or sets the UpdateApprovalScope object that can be used to filter updates based on their approval properties.
public property UpdateSources Gets or sets the update sources to search for. An update will be included only if its update source is included in this value. This value may be a combination of any number of values from UpdateSources.
public property UpdateTypes Gets or sets the update types to search for. An update will be included only if its update type is included in this value.
Top

(see also Protected Methods)
 NameDescription
public methodEquals  (Inherited from Object)
public methodGetHashCode  (Inherited from Object)
public methodGetType  (Inherited from Object)
public methodToString  (Inherited from Object)
Top

  Name Description
protected method Finalize  (Inherited from Object)
protected method MemberwiseClone  (Inherited from Object)
Top
Show: