ServiceController.StartType Proprietà
Definizione
Ottiene un valore che indica come viene avviato il servizio rappresentato dall'oggetto ServiceController.Gets a value that indicates how the service represented by the ServiceController object starts.
public:
property System::ServiceProcess::ServiceStartMode StartType { System::ServiceProcess::ServiceStartMode get(); };
[System.ServiceProcess.ServiceProcessDescription("SPStartType")]
public System.ServiceProcess.ServiceStartMode StartType { get; }
member this.StartType : System.ServiceProcess.ServiceStartMode
Public ReadOnly Property StartType As ServiceStartMode
Valore della proprietà
Valore che indica come viene avviato il servizio.A value that indicates how the service starts.
- Attributi
Eccezioni
Si è verificato un errore durante l'accesso a un'API di sistema.An error occurred when accessing a system API.
Sicurezza
ServiceControllerPermission
per l'esplorazione dei servizi nel computer.for browsing services on the computer. Enumerazione associata: Browse.Associated enumeration: Browse.