共用方式為


InstallationBehavior Class

 

Applies To: Windows Server Update Services

Defines the installation behavior of the update. To get this class, call the InstallationBehavior property.

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

Inheritance Hierarchy

System.Object
  Microsoft.UpdateServices.Administration.InstallationBehavior

Syntax

[SerializableAttribute]
[ClassInterfaceAttribute(ClassInterfaceType.None)]
[GuidAttribute("7902F2BB-91A2-4466-A2CD-A3D9B5EBEBF6")]
[ComVisibleAttribute(true)]
public class InstallationBehavior
[SerializableAttribute]
[ClassInterfaceAttribute(ClassInterfaceType::None)]
[GuidAttribute("7902F2BB-91A2-4466-A2CD-A3D9B5EBEBF6")]
[ComVisibleAttribute(true)]
public ref class InstallationBehavior 
[<SerializableAttribute>]
[<ClassInterfaceAttribute(ClassInterfaceType.None)>]
[<GuidAttribute("7902F2BB-91A2-4466-A2CD-A3D9B5EBEBF6")>]
[<ComVisibleAttribute(true)>]
type InstallationBehavior = class end
<SerializableAttribute>
<ClassInterfaceAttribute(ClassInterfaceType.None)>
<GuidAttribute("7902F2BB-91A2-4466-A2CD-A3D9B5EBEBF6")>
<ComVisibleAttribute(True)>
Public Class InstallationBehavior

Constructors

Name Description
System_CAPS_pubmethod InstallationBehavior()

Initializes a new instance of the InstallationBehavior class.

System_CAPS_pubmethod InstallationBehavior(Boolean, Boolean, InstallationImpact, RebootBehavior, Boolean)

Initializes a new instance of the InstallationBehavior class.

Properties

Name Description
System_CAPS_pubproperty CanRequestUserInput

Whether the underlying installer can request that the Client reboot the machine after successfully completing the installation or uninstallation of the update.

System_CAPS_pubproperty Impact

The installation impact of the update.

System_CAPS_pubproperty IsSupported

Whether this action is supported.

System_CAPS_pubproperty RebootBehavior

The reboot behavior after installing/uninstalling an update.

System_CAPS_pubproperty RequiresNetworkConnectivity

Whether the update requires network connectivity for the installation/uninstallation to complete successfully.

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 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