Propriedade AgentStartMode
Gets the start mode for the SQL Server Agent service.
Namespace: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (em Microsoft.SqlServer.Smo.dll)
Sintaxe
'Declaração
<DisplayDescriptionKeyAttribute("JobServer_ServiceStartModeDesc")> _
<DisplayNameKeyAttribute("JobServer_ServiceStartModeName")> _
ReadOnly Property AgentStartMode As ServiceStartMode
Get
'Uso
Dim instance As IServerSetupFacet
Dim value As ServiceStartMode
value = instance.AgentStartMode
[DisplayDescriptionKeyAttribute("JobServer_ServiceStartModeDesc")]
[DisplayNameKeyAttribute("JobServer_ServiceStartModeName")]
ServiceStartMode AgentStartMode { get; }
[DisplayDescriptionKeyAttribute(L"JobServer_ServiceStartModeDesc")]
[DisplayNameKeyAttribute(L"JobServer_ServiceStartModeName")]
property ServiceStartMode AgentStartMode {
ServiceStartMode get ();
}
[<DisplayDescriptionKeyAttribute("JobServer_ServiceStartModeDesc")>]
[<DisplayNameKeyAttribute("JobServer_ServiceStartModeName")>]
abstract AgentStartMode : ServiceStartMode
function get AgentStartMode () : ServiceStartMode
Valor da propriedade
Tipo: Microsoft.SqlServer.Management.Smo. . :: . .ServiceStartMode
A ServiceStartMode value that specifies the start mode for the SQL Server Agent service.
Consulte também