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; }
[System.Management.Automation.Alias(new System.String[] { "StartMode", "SM", "ST", "StartType" })]
[System.Management.Automation.Parameter]
[System.Management.Automation.ValidateNotNullOrEmpty]
public Microsoft.PowerShell.Commands.ServiceStartupType StartupType { get; set; }
member this.StartupType : System.ServiceProcess.ServiceStartMode with get, set
[<System.Management.Automation.Alias(new System.String[] { "StartMode", "SM", "ST", "StartType" })>]
[<System.Management.Automation.Parameter>]
[<System.Management.Automation.ValidateNotNullOrEmpty>]
member this.StartupType : Microsoft.PowerShell.Commands.ServiceStartupType with get, set
Public Property StartupType As ServiceStartMode
Public Property StartupType As ServiceStartupType

Property Value

Attributes

Applies to