ServiceController.StartType Tulajdonság

Definíció

Lekéri az objektum által ServiceController képviselt szolgáltatás indítását jelző értéket.

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

Tulajdonság értéke

A szolgáltatás indítását jelző érték.

Attribútumok

Kivételek

Hiba történt egy rendszer API elérésekor.

A következőre érvényes:

Lásd még