Share via


Propriété AgentStartMode

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

Espace de noms :  Microsoft.SqlServer.Management.Smo
Assembly :  Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)

Syntaxe

'Déclaration
Public ReadOnly Property AgentStartMode As ServiceStartMode
    Get
'Utilisation
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

Valeur de propriété

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

Implémente

IServerSetupFacet. . :: . .AgentStartMode

Exemples

See Also