Propriedade do RDL JobServer.Alerts
Represents a collection of Alert objects. Each Alert object represents an alert defined on SQL Server Agent.
Namespace: Microsoft.SqlServer.Management.Smo.Agent
Assembly: Microsoft.SqlServer.Smo (em Microsoft.SqlServer.Smo.dll)
Sintaxe
'Declaração
<SfcObjectAttribute(SfcContainerRelationship.ObjectContainer, SfcContainerCardinality.ZeroToAny, _
GetType(Alert))> _
Public ReadOnly Property Alerts As AlertCollection
Get
'Uso
Dim instance As JobServer
Dim value As AlertCollection
value = instance.Alerts
[SfcObjectAttribute(SfcContainerRelationship.ObjectContainer, SfcContainerCardinality.ZeroToAny,
typeof(Alert))]
public AlertCollection Alerts { get; }
[SfcObjectAttribute(SfcContainerRelationship::ObjectContainer, SfcContainerCardinality::ZeroToAny,
typeof(Alert))]
public:
property AlertCollection^ Alerts {
AlertCollection^ get ();
}
[<SfcObjectAttribute(SfcContainerRelationship.ObjectContainer, SfcContainerCardinality.ZeroToAny,
typeof(Alert))>]
member Alerts : AlertCollection
function get Alerts () : AlertCollection
Valor da propriedade
Tipo: Microsoft.SqlServer.Management.Smo.Agent.AlertCollection
An AlertCollection that represents the alerts defined on SQL Server Agent.
Exemplos
Agendando tarefas administrativas automáticas no SQL Server Agent
Consulte também
Referência
Namespace Microsoft.SqlServer.Management.Smo.Agent
Outros recursos
Tarefas de administração automatizadas (SQL Server Agent)
Procedimentos armazenados do SQL Server Agent (Transact-SQL)