Dela via


NewServiceCommand.StartupType Property

Definition

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

Applies to