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