ServiceController.StartType Własność
Definicja
Ważny
Niektóre informacje dotyczą produktów przedpremierowych, które mogą zostać znacznie zmodyfikowane przed premierą. Microsoft nie udziela żadnych gwarancji, ani wyraźnych, ani domniemanych, dotyczących informacji podanych tutaj.
Pobiera wartość wskazującą sposób uruchamiania usługi reprezentowanej ServiceController przez obiekt.
public:
property System::ServiceProcess::ServiceStartMode StartType { System::ServiceProcess::ServiceStartMode get(); };
public System.ServiceProcess.ServiceStartMode StartType { get; }
[System.ServiceProcess.ServiceProcessDescription("SPStartType")]
public System.ServiceProcess.ServiceStartMode StartType { get; }
member this.StartType : System.ServiceProcess.ServiceStartMode
[<System.ServiceProcess.ServiceProcessDescription("SPStartType")>]
member this.StartType : System.ServiceProcess.ServiceStartMode
Public ReadOnly Property StartType As ServiceStartMode
Wartość nieruchomości
Wartość wskazująca sposób uruchamiania usługi.
- Atrybuty
Wyjątki
Wystąpił błąd podczas uzyskiwania dostępu do interfejsu API systemu.