CommandLineItem Class

 

Applies To: Windows Server Update Services

Represents a command-line executable.

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

Syntax

public class CommandLineItem : InstallableItem
public ref class CommandLineItem : InstallableItem
type CommandLineItem = 
    class
        inherit InstallableItem
    end
Public Class CommandLineItem
    Inherits InstallableItem

Constructors

Name Description
System_CAPS_pubmethod CommandLineItem()

Initializes a new instance of the CommandLineItem class.

System_CAPS_pubmethod CommandLineItem(String)

Initializes a new instance of the CommandLineItem class from the given input executable file name.

Properties

Name Description
System_CAPS_pubproperty ApplicabilityMetadata

Gets or sets the metadata applicability rules of this installable item.(Inherited from InstallableItem.)

System_CAPS_pubproperty Arguments

Gets or sets the arguments to pass to the executable.

System_CAPS_pubproperty CommandLineExecutableName

Gets or sets the program name.

System_CAPS_pubproperty DefaultResult

Gets or sets the default installation result.

System_CAPS_pubproperty Id

Gets the GUID of the item.(Inherited from InstallableItem.)

System_CAPS_pubproperty InstallBehavior

Gets or sets the installation behavior.(Inherited from InstallableItem.)

System_CAPS_pubproperty IsInstallableApplicabilityRule

Gets or sets the rules for determining whether or not this item is installable on a given computer.(Inherited from InstallableItem.)

System_CAPS_pubproperty IsInstalledApplicabilityRule

Gets or sets the rules for determining whether or not this item is already installed on a given computer.(Inherited from InstallableItem.)

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.(Inherited from InstallableItem.)

System_CAPS_pubproperty Languages

Gets the collection of languages supported by this item.(Inherited from InstallableItem.)

System_CAPS_pubproperty OriginalSourceFile

Gets or sets the original source of this update. (Inherited from InstallableItem.)

System_CAPS_pubproperty RebootByDefault

Gets or sets the default reboot value.

System_CAPS_pubproperty RepairPaths

Gets the MSI repair paths to use if this executable wraps an MSI.

System_CAPS_pubproperty ReturnCodes

Gets a list of return codes that the executable is expected to return.

System_CAPS_pubproperty UninstallBehavior

Get or sets the uninstallation behavior.(Inherited from InstallableItem.)

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.(Inherited from InstallableItem.)

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