ServerSetupAdapter.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