Partager via


InstallationBehavior Constructor (Boolean, Boolean, InstallationImpact, RebootBehavior, Boolean)

 

Applies To: Windows Server Update Services

Initializes a new instance of the InstallationBehavior class.

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

Syntax

public InstallationBehavior(
    bool isSupported,
    bool canRequestUserInput,
    InstallationImpact impact,
    RebootBehavior rebootBehavior,
    bool requiresNetworkConnectivity
)
public:
InstallationBehavior(
    bool isSupported,
    bool canRequestUserInput,
    InstallationImpact impact,
    RebootBehavior rebootBehavior,
    bool requiresNetworkConnectivity
)
new : 
        isSupported:bool *
        canRequestUserInput:bool *
        impact:InstallationImpact *
        rebootBehavior:RebootBehavior *
        requiresNetworkConnectivity:bool -> InstallationBehavior
Public Sub New (
    isSupported As Boolean,
    canRequestUserInput As Boolean,
    impact As InstallationImpact,
    rebootBehavior As RebootBehavior,
    requiresNetworkConnectivity As Boolean
)

Parameters

  • canRequestUserInput
    Type: System.Boolean

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

  • requiresNetworkConnectivity
    Type: System.Boolean

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

See Also

InstallationBehavior Overload
InstallationBehavior Class
Microsoft.UpdateServices.Administration Namespace

Return to top