Condividi tramite


Proprietà AgentStartMode

Gets or sets the start mode for the SQL Server Agent service.

Spazio dei nomi  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Sintassi

'Dichiarazione
Public ReadOnly Property AgentStartMode As ServiceStartMode
    Get
'Utilizzo
Dim instance As ServerSetupAdapter
Dim value As ServiceStartMode

value = instance.AgentStartMode
public ServiceStartMode AgentStartMode { get; }
public:
virtual property ServiceStartMode AgentStartMode {
    ServiceStartMode get () sealed;
}
abstract AgentStartMode : ServiceStartMode
override AgentStartMode : ServiceStartMode
final function get AgentStartMode () : ServiceStartMode

Valore proprietà

Tipo: Microsoft.SqlServer.Management.Smo. . :: . .ServiceStartMode
A ServiceStartMode object value that specifies the start mode for the SQL Server Agent service.

Implementa

IServerSetupFacet. . :: . .AgentStartMode

Esempi

See Also