共用方式為


InstallableItem Class

 

Applies To: Windows Server Update Services

Each package contains one or more installable items. Applications typically have a single installable item, and updates have one or more installable items.

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

Inheritance Hierarchy

System.Object
  Microsoft.UpdateServices.Administration.InstallableItem
    Microsoft.UpdateServices.Administration.CommandLineItem
    Microsoft.UpdateServices.Administration.WindowsDriverItem
    Microsoft.UpdateServices.Administration.WindowsInstallerItem
    Microsoft.UpdateServices.Administration.WindowsInstallerPatchItem

Syntax

public class InstallableItem
public ref class InstallableItem 
type InstallableItem = class end
Public Class InstallableItem

Constructors

Name Description
System_CAPS_pubmethod InstallableItem()

Initializes a new instance of InstallableItem.

Properties

Name Description
System_CAPS_pubproperty ApplicabilityMetadata

Gets or sets the metadata applicability rules of this installable item.

System_CAPS_pubproperty Id

Gets the GUID of the item.

System_CAPS_pubproperty InstallBehavior

Gets or sets the installation behavior.

System_CAPS_pubproperty IsInstallableApplicabilityRule

Gets or sets the rules for determining whether or not this item is installable on a given computer.

System_CAPS_pubproperty IsInstalledApplicabilityRule

Gets or sets the rules for determining whether or not this item is already installed on a given computer.

System_CAPS_pubproperty IsSupersededApplicabilityRule

Gets or sets the rules for determining whether or not this item is superseded by another update on a given computer.

System_CAPS_pubproperty Languages

Gets the collection of languages supported by this item.

System_CAPS_pubproperty OriginalSourceFile

Gets or sets the original source of this update.

System_CAPS_pubproperty UninstallBehavior

Get or sets the uninstallation behavior.

Methods

Name Description
System_CAPS_pubmethod Equals(Object)

(Inherited from Object.)

System_CAPS_protmethod Finalize()

(Inherited from Object.)

System_CAPS_pubmethod GetHashCode()

(Inherited from Object.)

System_CAPS_pubmethod GetType()

(Inherited from Object.)

System_CAPS_protmethod GetXml(String, String)

This property value is for internal use only. It may be removed in a later release.

System_CAPS_protmethod MemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethod ToString()

(Inherited from Object.)

Thread Safety

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

See Also

Microsoft.UpdateServices.Administration Namespace

Return to top