Freigeben über


Alert.EventSource-Eigenschaft

Gets the event source text from the application event log.

Namespace:  Microsoft.SqlServer.Management.Smo.Agent
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Syntax

'Declaration
<SfcPropertyAttribute(SfcPropertyFlags.Standalone)> _
Public ReadOnly Property EventSource As String 
    Get
'Usage
Dim instance As Alert 
Dim value As String 

value = instance.EventSource
[SfcPropertyAttribute(SfcPropertyFlags.Standalone)]
public string EventSource { get; }
[SfcPropertyAttribute(SfcPropertyFlags::Standalone)]
public:
property String^ EventSource {
    String^ get ();
}
[<SfcPropertyAttribute(SfcPropertyFlags.Standalone)>]
member EventSource : string
function get EventSource () : String

Eigenschaftswert

Typ: System.String
A String value that contains the event source.

Beispiele

Planen von automatischen, administrativen Tasks im SQL Server-Agent

Siehe auch

Verweis

Alert Klasse

Microsoft.SqlServer.Management.Smo.Agent-Namespace

Andere Ressourcen

Automatisierte Administrationstasks (SQL Server-Agent)

sp_add_alert (Transact-SQL)