MSSQL no Windows: provedor de serviços

Microsoft.SQLServer.Windows.DataSource.ServiceStatus (DataSourceModuleType)

Provedor de serviços do SQL Server Windows no Windows

Element properties:

TypeDataSourceModuleType
IsolationAny
AccessibilityInternal
RunAsMicrosoft.SQLServer.Core.RunAs.Monitoring
OutputTypeSystem.PropertyBagData

Member Modules:

ID Module Type TypeId RunAs 
Trigger DataSource System.Scheduler Default
Probe ProbeAction Microsoft.SQLServer.Windows.ProbeAction.ServiceStatus Default

Overrideable Parameters:

IDParameterTypeSelectorDisplay NameDescription
IntervalSecondsint$Config/IntervalSeconds$Intervalo (segundos)O intervalo de tempo recorrente em segundos no qual executar o fluxo de trabalho.
SyncTimestring$Config/SyncTime$Tempo de SincronizaçãoO tempo de sincronização especificado usando um formato de 24 horas. Pode ser omitido.
CheckStartupTypebool$Config/CheckStartupType$Alertar somente se o tipo de inicialização do serviço for automáticoIsso só pode ser definido como "true" ou "false". O fluxo de trabalho não considerará a configuração do tipo de inicialização atual do serviço se este parâmetro estiver definido para "false". O padrão é "true".
UnavailableTimeint$Config/UnavailableTime$Tempo indisponível (s)A duração mínima de indisponibilidade do serviço antes de considerá-lo não íntegro.

Source Code:

<DataSourceModuleType ID="Microsoft.SQLServer.Windows.DataSource.ServiceStatus" Accessibility="Internal" RunAs="SqlCoreLib!Microsoft.SQLServer.Core.RunAs.Monitoring">
<Configuration>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" name="IntervalSeconds" type="xsd:integer"/>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" name="SyncTime" type="xsd:string"/>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" name="PrincipalName" type="xsd:string"/>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" name="ServiceName" type="xsd:string"/>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" name="CheckStartupType" type="xsd:boolean"/>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" name="UnavailableTime" type="xsd:integer"/>
</Configuration>
<OverrideableParameters>
<OverrideableParameter ID="IntervalSeconds" Selector="$Config/IntervalSeconds$" ParameterType="int"/>
<OverrideableParameter ID="SyncTime" Selector="$Config/SyncTime$" ParameterType="string"/>
<OverrideableParameter ID="CheckStartupType" Selector="$Config/CheckStartupType$" ParameterType="bool"/>
<OverrideableParameter ID="UnavailableTime" Selector="$Config/UnavailableTime$" ParameterType="int"/>
</OverrideableParameters>
<ModuleImplementation>
<Composite>
<MemberModules>
<DataSource ID="Trigger" TypeID="System!System.Scheduler">
<Scheduler>
<SimpleReccuringSchedule>
<Interval>$Config/IntervalSeconds$</Interval>
<SyncTime>$Config/SyncTime$</SyncTime>
</SimpleReccuringSchedule>
<ExcludeDates/>
</Scheduler>
</DataSource>
<ProbeAction ID="Probe" TypeID="Microsoft.SQLServer.Windows.ProbeAction.ServiceStatus">
<PrincipalName>$Config/PrincipalName$</PrincipalName>
<ServiceName>$Config/ServiceName$</ServiceName>
<CheckStartupType>$Config/CheckStartupType$</CheckStartupType>
<UnavailableTime>$Config/UnavailableTime$</UnavailableTime>
<Publisher>SQLMonitoringWindows</Publisher>
<ManagementGroupName>$Target/ManagementGroup/Name$</ManagementGroupName>
</ProbeAction>
</MemberModules>
<Composition>
<Node ID="Probe">
<Node ID="Trigger"/>
</Node>
</Composition>
</Composite>
</ModuleImplementation>
<OutputType>System!System.PropertyBagData</OutputType>
</DataSourceModuleType>