Share via


CommandLineItem.DefaultResult Property

 

Applies To: Windows Server Update Services

Gets or sets the default installation result.

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

Syntax

public InstallationResult DefaultResult { get; set; }
public:
property InstallationResult DefaultResult {
    InstallationResult get();
    void set(InstallationResult value);
}
member DefaultResult : InstallationResult with get, set
Public Property DefaultResult As InstallationResult

Property Value

Type: Microsoft.UpdateServices.Administration.InstallationResult

The default InstallationResult to use if the executable returns a code not listed in ReturnCode.

Remarks

The default value is Failed.

See Also

CommandLineItem Class
Microsoft.UpdateServices.Administration Namespace

Return to top