Поделиться через


Свойство AgentStartMode

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

Пространство имен:  Microsoft.SqlServer.Management.Smo
Сборка:  Microsoft.SqlServer.Smo (в Microsoft.SqlServer.Smo.dll)

Синтаксис

'Декларация
Public ReadOnly Property AgentStartMode As ServiceStartMode
    Get
'Применение
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

Значение свойства

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

Реализует

IServerSetupFacet. . :: . .AgentStartMode

Примеры

See Also