ServiceController.StartType Egenskap

Definition

Hämtar ett värde som anger hur tjänsten som representeras av ServiceController objektet startar.

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

Egenskapsvärde

Ett värde som anger hur tjänsten startar.

Attribut

Undantag

Ett fel uppstod vid åtkomst till ett system-API.

Gäller för

Se även