NewServiceCommand.StartupType Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Should the service start automatically?
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.Parameter]
public Microsoft.PowerShell.Commands.ServiceStartupType StartupType { get; set; }
member this.StartupType : System.ServiceProcess.ServiceStartMode with get, set
[<System.Management.Automation.Parameter>]
member this.StartupType : Microsoft.PowerShell.Commands.ServiceStartupType with get, set
Public Property StartupType As ServiceStartMode
Public Property StartupType As ServiceStartupType
Property Value
- Attributes