UpdateScope Class

 

Applies To: Windows Server Update Services

Defines the filter for a list of updates.

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

System.Object
  Microsoft.UpdateServices.Administration.UpdateScope

public class UpdateScope

NameDescription
System_CAPS_pubmethodUpdateScope()

Initializes a new instance of UpdateScope.

NameDescription
System_CAPS_pubpropertyApprovedComputerTargetGroups

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.

System_CAPS_pubpropertyApprovedStates

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.

System_CAPS_pubpropertyCategories

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.

System_CAPS_pubpropertyClassifications

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.

System_CAPS_pubpropertyExcludedInstallationStates

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.

System_CAPS_pubpropertyExcludeOptionalUpdates

Gets or sets whether to exclude optional updates from the list.

System_CAPS_pubpropertyFromArrivalDate

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.

System_CAPS_pubpropertyFromCreationDate

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.

System_CAPS_pubpropertyIncludedInstallationStates

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.

System_CAPS_pubpropertyIsWsusInfrastructureUpdate

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.

System_CAPS_pubpropertyTextIncludes

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.

System_CAPS_pubpropertyTextNotIncludes

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.

System_CAPS_pubpropertyToArrivalDate

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.

System_CAPS_pubpropertyToCreationDate

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.

System_CAPS_pubpropertyUpdateApprovalActions

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.

System_CAPS_pubpropertyUpdateApprovalScope

Gets or sets the UpdateApprovalScope object that can be used to filter updates based on their approval properties.

System_CAPS_pubpropertyUpdateSources

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.

System_CAPS_pubpropertyUpdateTypes

Gets or sets the update types to search for. An update will be included only if its update type is included in this value.

NameDescription
System_CAPS_pubmethodEquals(Object)

(Inherited from Object.)

System_CAPS_protmethodFinalize()

(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

(Inherited from Object.)

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_protmethodMemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethodToString()

(Inherited from Object.)

Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top

Community Additions

ADD
Show: