Compartir a través de


ServerSetupAdapter.AgentStartMode Propiedad

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

Espacio de nombres:  Microsoft.SqlServer.Management.Smo
Ensamblado:  Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)

Sintaxis

'Declaración
Public ReadOnly Property AgentStartMode As ServiceStartMode 
    Get
'Uso
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

Valor de la propiedad

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

Implementa

IServerSetupFacet.AgentStartMode

Ejemplos

See Also

Vea también

Referencia

ServerSetupAdapter Clase

Espacio de nombres Microsoft.SqlServer.Management.Smo