SetServiceCommand.StartupType Property

Definition

The following is the definition of the input parameter "StartupType". Changes the starting mode of the service. Valid values for StartupType are: -- Automatic: Start when the system starts. -- Manual : Starts only when started by a user or program. -- Disabled : Can

public:
 property Microsoft::PowerShell::Commands::ServiceStartupType StartupType { Microsoft::PowerShell::Commands::ServiceStartupType get(); void set(Microsoft::PowerShell::Commands::ServiceStartupType value); };
public:
 property Microsoft::PowerShell::Commands::ServiceStartupType StartupType { Microsoft::PowerShell::Commands::ServiceStartupType get(); void set(Microsoft::PowerShell::Commands::ServiceStartupType value); };
public System.ServiceProcess.ServiceStartMode StartupType { get; set; }
member this.StartupType : System.ServiceProcess.ServiceStartMode with get, set
Public Property StartupType As ServiceStartMode

Property Value

Applies to