ServiceController.StartType Właściwość

Definicja

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ść właściwości

Wartość wskazująca sposób uruchamiania usługi.

Atrybuty

Wyjątki

Wystąpił błąd podczas uzyskiwania dostępu do interfejsu API systemu.

Dotyczy

Zobacz też